Skip to content

Multiple warning over lost indexes on massive insert with gRPC #4083

Closed

Description

@mdre

When I do a massive insert in the cluster, the followers report a warning reporting thats index ar missings.

Image

Activity

  1. lvca commented on May 5, 2026

    @lvca
    Member

    What release are your using?

  2. self-assigned this
    on May 5, 2026
  3. added theissue type on May 5, 2026
  4. mdre commented on May 5, 2026

    @mdre
    Author

    I'am using this morning pull.
    Rev: 95c57ba

  5. lvca commented on May 5, 2026

    @lvca
    Member

    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.

  6. added this to the 26.5.1 milestone on May 5, 2026
  7. added a commit that references this issue on May 5, 2026
  8. lvca commented on May 5, 2026

    @lvca
    Member

    Just pushed a fix for this issue in the latest main branch. Please @mdre confirm.

  9. mdre commented on May 5, 2026

    @mdre
    Author

    ok. I will check. Studing Italian now...

  10. mdre commented on May 5, 2026

    @mdre
    Author

    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

  11. lvca commented on May 5, 2026

    @lvca
    Member

    compilation problems, fixed.

  12. lvca commented on May 6, 2026

    @lvca
    Member

    Is issue still valid?

  13. mdre commented on May 6, 2026

    @mdre
    Author

    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.

  14. mdre commented on May 7, 2026

    @mdre
    Author

    The errors are still there. This is with the today pull.

    Image
  15. 30 remaining items

  16. added 2 commits that reference this issue on Jul 10, 2026
  17. added 2 commits that reference this issue on Aug 1, 2026
  18. added a commit that references this issue on Aug 13, 2026
  19. added 2 commits that reference this issue on Aug 14, 2026
  20. added a commit that references this issue on Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions