Skip to content
This repository was archived by the owner on Nov 21, 2026. It is now read-only.

bindings docs: known engine issues page, three correctness bugs with tested workarounds (upstream #8806, #8814, #8817) - #47

Merged
tae898 merged 1 commit into
mainfrom
docs/known-engine-issues
Oct 1, 2026
Merged

tae898 merged 1 commit into
mainfrom
docs/known-engine-issues

Conversation

@tae898

@tae898 tae898 commented Oct 1, 2026

Copy link
Copy Markdown

Closes #46.

A new guide page, Known Engine Issues (nav under User Guide, linked from the top of the queries guide with a warning admonition), lists three open ArcadeDB bugs that return a wrong answer or change the wrong rows without an error, each measured on 26.8.1, 26.9.1, and a 26.10.1 snapshot, with a workaround checked on the same reproduction:

  1. A UNIQUE composite index answers a lookup by its first property with part of the entries: WHERE host = ? returns 12,589 of 30,000 rows (26.8.1 to main) ArcadeData/arcadedb#8806: a UNIQUE composite index read by its first property alone returns part of the rows once compacted (12,589 of 30,000 in the repro), and DELETE/UPDATE through that WHERE touch only those rows. Workaround: bound the later properties (AND ts >= Long.MIN returns all 30,000 and the DELETE removes them all); REBUILD INDEX also restored it.
  2. SQL UPDATE that moves an indexed key forward, filtered by a range on that key, updates the same record again and again (Halloween problem): UPDATE V SET a = a + 10 WHERE a < 1001 makes 50,601 updates for 1,001 records (26.8.1 to main) ArcadeData/arcadedb#8814: a SQL UPDATE that moves an indexed key within its WHERE range updates the same records again (50,601 updates for 1,001 records; a 100,000-record range ran out of a 6 GB heap). Workaround: a WHERE no index serves (a + 0 BETWEEN ...), or Cypher MATCH ... SET (each record once).
  3. Inside a transaction, an index range or index-end read misses the records the transaction inserted once the LSM index has a compacted sub-index: WHERE a BETWEEN 500 AND 509 returns 0 of 10 (26.8.1 to main) ArcadeData/arcadedb#8817: inside a transaction that has written, index range reads and index-end min()/max() miss its own inserts once the index is compacted (also GEOSPATIAL). Workaround: read after the commit, or use equality/IN lookups inside the transaction.

Write examples run inside db.transaction(), as embedded SQL writes need. mkdocs build passes locally and the link resolves. Entries leave the page when a release these bindings package carries the fix.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WWcDr7TwvcfMsQkeYQVHZr

@tae898
tae898 merged commit 3f617eb into main Oct 1, 2026
48 checks passed
@tae898
tae898 deleted the docs/known-engine-issues branch October 1, 2026 13:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bindings docs: a known-issues page for three engine correctness bugs in 26.9.1 and the 26.10.1 snapshot, with tested workarounds

1 participant