Skip to content

Engine changes to review #551

Done
Done

Description

@github-actions

The upstream engine changed in ways that may need a change in the Python bindings: 14 findings, 3 feat commits, and 25 fix commits in classes the bindings use, between 8851991e1 (2026-11-27) and a12d8ab5b (2026-11-30), 195 upstream commits (compare).

To review: decide for each line of the tables and of the two lists of commits whether the bindings need a change, open an issue for each one that does, then close this issue. Closing it marks a12d8ab5b as reviewed, and the next run starts there. While it stays open, a run rewrites this text with everything since 8851991e1 and adds a comment when there is a new finding or feat commit.

Section Findings Name used in the bindings
Removed or changed in classes the bindings use 0 0
New in classes the bindings use 11 1
Exception classes under the ones the bindings name 3 0
Settings (GlobalConfiguration) 0 0
Index types 0 0
SQL statements, keywords, functions, and methods 0 0

New in classes the bindings use

Name Change What Used Upstream File
WorkGuard new void sleep(long) throws InterruptedException yes PR 13606, commit 90b97f9f3 WorkGuard.java
LSMVectorIndex new boolean certifyGraphShippedByReplicatedCompaction(Set<Integer>) PR 13536, commit f9f0da441 LSMVectorIndex.java
LSMVectorIndex new void applyReplicatedPageUpdates(List<MutablePage>, boolean) PR 13757, commit 19fcd4754 LSMVectorIndex.java
LSMVectorIndexMetadata new static void checkDimensionsDeclared(int, boolean) PR 13031, commit cda358f68 LSMVectorIndexMetadata.java
LSMVectorIndexMetadata new static void checkGraphParametersBound(LSMVectorIndexMetadata) PR 13749, commit db745a1ad LSMVectorIndexMetadata.java
ResultInternal new static boolean isPlainRecordRow(Result) PR 13015, commit 8028e8182 ResultInternal.java
TransactionContext new boolean isEndedAsOneBlock() PR 13786, commit 8a8781dcf TransactionContext.java
TransactionContext new void setEndedAsOneBlock(boolean) PR 13786, commit 8a8781dcf TransactionContext.java
Type new static boolean castComparableNumberIsIdentity(Number, Number) PR 13010, commit 99179a82d Type.java
Type new static boolean isBeyondLongRange(Number) PR 13033, commit 687a4d9e2 Type.java
TypeIndex new List<Bucket> getBucketsWithoutFilledIndex() PR 13351, commit cb946475f TypeIndex.java

Not listed: 1 more new method names in watched classes (neither abstract on an interface the bindings implement, nor on a class they name).

Exception classes under the ones the bindings name

Name Change What Used Upstream File
ConstraintDropFailedException new exception com.arcadedb.exception.ConstraintDropFailedException, below SchemaException PR 13703, commit 9c89c306f ConstraintDropFailedException.java
IndexDropFailedException new exception com.arcadedb.exception.IndexDropFailedException, below SchemaException PR 13703, commit 9c89c306f IndexDropFailedException.java
ProcedureCallFailedException new exception com.arcadedb.exception.ProcedureCallFailedException, below IllegalArgumentException PR 13565, commit 7edd3aac1 ProcedureCallFailedException.java

New features upstream (feat commits)

Every commit of the range whose subject starts with feat, newest first, with the watched files it changed, if any.

  • PR 13706 feat(bench): soak workload, two hours of the mixed phase with leak slopes (#13706)[skip ci]
  • PR 13677 feat(bench): mixed and hybrid-rag workloads (#13677) [skip ci]
  • PR 13661 feat(bench): ha workload, write throughput and replication lag on a three-node Raft cluster (#13661) [skip ci]

Fixes in classes the bindings use (fix commits)

Commits whose subject starts with fix and that changed a watched file of a class the bindings use, newest first. A fix can change behavior and keep every signature.

  • PR 13354 fix(#13350): REBUILD INDEX drops and creates again an LSM_VECTOR index that lacks bucket indexes instead of failing with cannot await a f... (IndexInternal.java)
  • PR 13351 fix(#13347): a vector search refuses an index that lacks the bucket index of a bucket with records instead of answering short (#13351) (TypeIndex.java)
  • PR 13786 fix(#13760): a failed JDBC batch sent to an HA follower commits nothing, as on the leader (#13786)[skip ci] (TransactionContext.java)
  • PR 13782 fix(#13472): CREATE TEXT INDEX builds a trigram TEXT index that sits next to a RANGE index (#13782) (LocalDocumentType.java, TypeIndexBuilder.java)
  • PR 13750 fix(#13141): a FOREACH write is visible to the projection of every row that binds the same node (#13750) (GlobalConfiguration.java)
  • PR 13031 fix(#13027): the 'dimensions' of an LSM_VECTOR index is validated in the SQL path and not in the Cypher one (#13031)[skip ci] (LSMVectorIndexMetadata.java)
  • PR 13266 fix(#13262): an exhaustive vector search takes its k under the read lock, so a commit landing before the lock does not cut off the farthe... (LSMVectorIndex.java)
  • PR 13033 fix(#13029): convert('LONG') answers null for a number beyond the 64-bit range, as convert('INTEGER') does (#13033)[skip ci] (Type.java)
  • PR 13749 fix(#13134): bound maxConnections, beamWidth, neighborOverflowFactor and alphaDiversityRelaxation where an LSM_VECTOR index declares them... (LSMVectorIndexMetadata.java)
  • PR 13753 fix(#13149): a filter probe over records without the vector no longer scans and warns on every search (#13753)[skip ci] (LSMVectorIndex.java)
  • PR 13757 fix(#13216): vector locations after a recovery or a replicated transaction follow page order (#13757)[skip ci] (LSMVectorIndex.java)
  • PR 13759 fix(#13736): a mark made while the bucket maps are being rebuilt is no longer lost (#13759)[skip ci] (LocalDocumentType.java)
  • PR 13042 fix(#13041): transaction() does not tell the error callback about the last failed attempt twice (#13042)[skip ci] (BasicDatabase.java, LocalDatabase.java)
  • PR 13678 fix(#13664): answer Bolt schema-rule conflicts and uniqueness violations as Neo4j 5 does (#13678)[skip ci] (IndexBuilder.java, TypeIndexBuilder.java)
  • PR 13668 fix(#13572): a read of the own page image made before any concurrent commit no longer refuses the page merge (#13668) (TransactionContext.java)
  • PR 13638 fix: improved checks in SQL command execution (#13638) (BasicCommandContext.java)
  • PR 13626 fix: improved checks in GraphQL result building (#13626) (GlobalConfiguration.java)
  • PR 13609 fix(#12865): fail a database drop that leaves its files behind (#13609) (LocalDatabase.java)
  • PR 13606 fix: improved checks in the SQL SLEEP statement (#13606) (WorkGuard.java)
  • PR 13004 fix(#13003): a LONG property judges a BigDecimal by its truncation at the ends of the range (#13004) (Type.java)
  • PR 12985 fix(#12984): numbersEqual reads the two zeros of a Float pair as one value (#12985) (Type.java)
  • PR 12948 fix(#12936): an indexed DATETIME or DECIMAL comparison answers what the scan answers for a numeric string or a boolean operand (#12948) (Type.java)
  • PR 12939 fix(#12930): ALTER PROPERTY ... NAME refuses a rename that would leave existing records violating the property's constraints (#12939) (LocalDocumentType.java, LocalProperty.java, Property.java)
  • PR 13536 fix(#13484): a follower certifies the vector graph a replicated compaction ships (#13536) (LSMVectorIndex.java)
  • PR 13529 fix(#13479): bound what a reused transaction context keeps after a bulk statement (#13529)[skip ci] (TransactionContext.java)
4 other merged pull requests touched the watched files without such a change and are in neither list of commits (newest first)
  • PR 12988 fix(#12973): OFFSET is the alias of SKIP, so the Postgres wire protocol speaks the row-limiting clause of PostgreSQL (#12988) [skip ci] (SQLParser.g4)
  • PR 13006 perf(#13005): a transaction starts its per-file maps at 16 slots, not 1024 (#13006) (TransactionContext.java)
  • PR 12980 perf(#12979): propertiesOf reads a stored record in one pass, without the name set and the second map (#12980) (ResultInternal.java)
  • PR 12883 perf(#12860): SQL ORDER BY evaluates each row's sort keys once instead of on every comparison (#12883) (ResultInternal.java)
How this was made

scripts/engine_watch.py (workflow engine-watch.yml) compared the two commits. It watches 113 engine files that it derived from the sources of the bindings, plus the settings, index types, SQL grammar, and SQL function factories. Its findings are differences of signatures and registrations, not changes of behavior inside a method. The two lists of commits are picked by how the subject starts and are not judged further. "Used" means only that the sources of the bindings hold that name, so check it before relying on it. The comment below this block is the state of the job: do not edit it.

Activity

  1. added
    enhancement
    native
    jvm
    on Nov 30, 2026
  2. tae898 commented on Nov 30, 2026

    @tae898
    Collaborator

    I went through all 14 findings, the 3 feat commits and the 25 fix commits. Nothing removes or changes a call that either package makes, and nothing here holds the 26.12.1 tag. Three engine changes alter what a user sees, so the docs say so now, and one leaves a small handle problem for 27.1.1.

    Issue or PR Milestone What From
    #552, fixed in PR #553 26.12.1 docs: the new limits of the vector graph parameters, a drop() that raises when files stay, and the code unknown of an openCypher DROP INDEX or DROP CONSTRAINT of a missing name PR 13749, PR 13609, PR 13703
    #554 27.1.1 after a drop() that raises, the Python handle still counts as open PR 13609
    #507 (comment added) 27.1.1 the three new exception subclasses; two of them move a code from schema to unknown PR 13703, PR 13565
    Every line and commit, with its verdict
    Line or commit Verdict Reason
    WorkGuard.sleep (new) no change the bindings call only WorkGuard.forCommandDeadline (vector.py), which is unchanged; "used" matches the class name
    LSMVectorIndex.certifyGraphShippedByReplicatedCompaction no change high availability follower internals
    LSMVectorIndex.applyReplicatedPageUpdates no change replication internals
    LSMVectorIndexMetadata.checkDimensionsDeclared no change the openCypher path now checks dimensions as SQL and the builder already did
    LSMVectorIndexMetadata.checkGraphParametersBound fixed in PR #553 new limits on max_connections (2048) and beam_width (10000) of create_vector_index
    ResultInternal.isPlainRecordRow no change executor internal
    TransactionContext.isEndedAsOneBlock, setEndedAsOneBlock (2 lines) no change JDBC batch on a high availability follower
    Type.castComparableNumberIsIdentity no change comparison internal
    Type.isBeyondLongRange no change only SQL convert('LONG') answers differently; the range check of a LONG property is the same
    TypeIndex.getBucketsWithoutFilledIndex no change a vector index that lacks a bucket index now raises instead of answering short; only a crash during DROP INDEX leaves that state
    ConstraintDropFailedException #507, fixed in PR #553 (docs) openCypher DROP CONSTRAINT of a missing name: code schema becomes unknown
    IndexDropFailedException #507, fixed in PR #553 (docs) openCypher DROP INDEX of a missing name: code schema becomes unknown; the test text was already adapted in #526
    ProcedureCallFailedException no change, noted on #507 apoc.util.validate threw a plain IllegalArgumentException before, so the code stays unknown
    feat 13706, 13677, 13661 (3 commits) no change benchmark workloads, not in the jars that the packages ship
    fix 13354 no change REBUILD INDEX of a broken vector index; SQL passes through
    fix 13351 no change as TypeIndex.getBucketsWithoutFilledIndex above
    fix 13786 no change JDBC on a high availability follower
    fix 13782 no change openCypher CREATE TEXT INDEX; no new index type (the index types section is 0)
    fix 13750 no change openCypher FOREACH semantics; the change to GlobalConfiguration.java adds no setting
    fix 13031 no change as checkDimensionsDeclared above
    fix 13266 no change an exact vector search keeps its farthest hits under a concurrent commit; same methods
    fix 13033 no change as Type.isBeyondLongRange above
    fix 13749 fixed in PR #553 as checkGraphParametersBound above
    fix 13753 no change a filtered vector search over records without a vector stops scanning and warning
    fix 13757 no change vector locations after recovery or replication
    fix 13759 no change bucket map internals
    fix 13042 no change neither package passes an error callback to Database.transaction(): executor.transaction runs the async executor's own retry loop and run_in_transaction is a Python loop
    fix 13678 no change Bolt error codes; no binding test asserts one
    fix 13668 no change fewer false conflicts in the page merge; the retry helpers behave the same
    fix 13638 no change command() now honours arcadedb.command.timeout as query() does; the default is 0 (no limit) and the bindings set none
    fix 13626 no change GraphQL result limits; the bindings pass GraphQL through
    fix 13609 fixed in PR #553 (docs), #554 drop() raises when files stay; the handle problem is #554
    fix 13606 no change SLEEP checks the deadline in slices; the test that holds a worker with SLEEP 1500 has no deadline
    fix 13004 no change LONG range at the two ends for a BigDecimal; no binding test sends those values
    fix 12985 no change equality of the two float zeros
    fix 12948 no change an indexed comparison answers as the scan does
    fix 12939 no change ALTER PROPERTY ... NAME; the bindings have no rename call and SQL passes through
    fix 13536 no change high availability follower internals
    fix 13529 no change transaction context after a bulk statement
    the 4 pull requests in the folded list (12988, 13006, 12980, 12883) no change SQL OFFSET as an alias of SKIP (the SQL keyword section is 0), and three speed changes with the same answers

    How far this is checked:

    • On the engine snapshot 26.12.1-SNAPSHOT build 0b058e985 (the arcadedata/arcadedb:latest image of 2026-11-30 10:37 UTC, later than a12d8ab5b) I checked the vector limits and the three drop errors over HTTP (figures in Docs: three engine changes of 26.12.1 are missing (vector graph parameter limits, a drop() that fails, the code of a Cypher DROP INDEX) #552). The rest is from reading the engine source at a12d8ab5b and the bindings at 75e8290.
    • The nightly run of 2026-11-30 03:04 UTC was green, but on the image before 10:37 UTC. The next nightly is the first full run on an image with the whole range. The engine change that most likely shows there is PR 13609 on Windows, where a drop() in a test that leaves a file now fails instead of logging a warning.

    Closing this marks a12d8ab5b as reviewed.

  3. added this to the 26.12.1 milestone on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementjvmnative

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions