You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Multiple warning over lost indexes on massive insert with gRPC #4083
The c374693 fix only catches the case where compaction and recordFileChanges() deadlock-collide on the same FileManager recording session. This race is different: the leader's in-memory schema is updated by splitIndex() mid-compaction (file id assigned, mutable swapped), but the SCHEMA_ENTRY isn't dispatched until runWithCompactionReplication's replicateSchema() call after compaction.call() returns. During that window, repeated compactions on busy buckets can rename the file again, so by the time SCHEMA_ENTRY captures serializedSchema, it contains a name whose addFiles entry was already produced by an earlier compaction iteration that has already shipped a different nanos suffix. The result is what we see in the logs - the file id 13 was created with nanos 2631497441193500 but the schema captured nanos 2631497456962166.
I have pulled a fresh copy but I get this error when I try to compile.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.15.0:compile (default-compile) on project arcadedb-network: Compilation failure: Compilation failure: [ERROR] /opt/arcadedb-git/network/src/main/java/com/arcadedb/remote/RemoteDocumentType.java:[49,8] com.arcadedb.remote.RemoteDocumentType is not abstract and does not override abstract method getIndexByProperties(java.util.List<java.lang.String>) in com.arcadedb.schema.DocumentType [ERROR] /opt/arcadedb-git/network/src/main/java/com/arcadedb/remote/RemoteEdgeType.java:[33,8] com.arcadedb.remote.RemoteEdgeType is not abstract and does not override abstract method getIndexByProperties(java.util.List<java.lang.String>) in com.arcadedb.schema.DocumentType [ERROR] /opt/arcadedb-git/network/src/main/java/com/arcadedb/remote/RemoteVertexType.java:[29,8] com.arcadedb.remote.RemoteVertexType is not abstract and does not override abstract method getIndexByProperties(java.util.List<java.lang.String>) in com.arcadedb.schema.DocumentType
I was working on the migration tool. Could not launch it today. Theres new errors in the schema that previously was not reported so I'am reviewing that.
Activity
lvca commentedon May 5, 2026
What release are your using?
mdre commentedon May 5, 2026
I'am using this morning pull.
Rev: 95c57ba
lvca commentedon May 5, 2026
I was able to reproduce this issue.
The c374693 fix only catches the case where compaction and recordFileChanges() deadlock-collide on the same FileManager recording session. This race is different: the leader's in-memory schema is updated by splitIndex() mid-compaction (file id assigned, mutable swapped), but the SCHEMA_ENTRY isn't dispatched until runWithCompactionReplication's replicateSchema() call after compaction.call() returns. During that window, repeated compactions on busy buckets can rename the file again, so by the time SCHEMA_ENTRY captures serializedSchema, it contains a name whose addFiles entry was already produced by an earlier compaction iteration that has already shipped a different nanos suffix. The result is what we see in the logs - the file id 13 was created with nanos 2631497441193500 but the schema captured nanos 2631497456962166.
fix: schema alignment in HA
lvca commentedon May 5, 2026
Just pushed a fix for this issue in the latest
mainbranch. Please @mdre confirm.mdre commentedon May 5, 2026
ok. I will check. Studing Italian now...
mdre commentedon May 5, 2026
I have pulled a fresh copy but I get this error when I try to compile.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.15.0:compile (default-compile) on project arcadedb-network: Compilation failure: Compilation failure: [ERROR] /opt/arcadedb-git/network/src/main/java/com/arcadedb/remote/RemoteDocumentType.java:[49,8] com.arcadedb.remote.RemoteDocumentType is not abstract and does not override abstract method getIndexByProperties(java.util.List<java.lang.String>) in com.arcadedb.schema.DocumentType [ERROR] /opt/arcadedb-git/network/src/main/java/com/arcadedb/remote/RemoteEdgeType.java:[33,8] com.arcadedb.remote.RemoteEdgeType is not abstract and does not override abstract method getIndexByProperties(java.util.List<java.lang.String>) in com.arcadedb.schema.DocumentType [ERROR] /opt/arcadedb-git/network/src/main/java/com/arcadedb/remote/RemoteVertexType.java:[29,8] com.arcadedb.remote.RemoteVertexType is not abstract and does not override abstract method getIndexByProperties(java.util.List<java.lang.String>) in com.arcadedb.schema.DocumentTypelvca commentedon May 5, 2026
compilation problems, fixed.
lvca commentedon May 6, 2026
Is issue still valid?
mdre commentedon May 6, 2026
I was working on the migration tool. Could not launch it today. Theres new errors in the schema that previously was not reported so I'am reviewing that.
mdre commentedon May 7, 2026
The errors are still there. This is with the today pull.
fix: Multiple warning over lost indexes on massive insert with gRPC
30 remaining items
fix: schema alignment in HA
fix: Multiple warning over lost indexes on massive insert with gRPC
fix: HA increased ratis grpc buffer size + added throttle and better …
fix: HA leader-churn resilience and replica health visibility (Arcade…
feat(#5156): adaptive striped edge list for super-node write throughput
feat(#5156): adaptive striped edge list for super-node write throughp…
fix(engine) #5675: pin the manual-name restore, the inherited refusal…
fix(engine) #5675: CREATE INDEX IF NOT EXISTS answers for the index a…
build(deps): bump com.google.api.grpc:proto-google-common-protos from…
fix(#6142, #6143, #6144): incremental instalment file split, unrefere…
feat(#5156): adaptive striped edge list for super-node write throughp…
fix(engine) #5675: CREATE INDEX IF NOT EXISTS answers for the index a…
fix(engine) #7021: OpenCypher seeks an index inherited from a parent …
address review: defer 1 item for developer follow-up, and document th…
Fix issues ArcadeData#7774, ArcadeData#7773, ArcadeData#7766, ArcadeD…