Skip to content

Session query ordering & result buffering fixes

Latest

Choose a tag to compare

@transistive transistive released this 30 Oct 08:47
Immutable release. Only release title and notes can be modified.
d6d90e4

Bug fixes & reliability

  • Sessions now buffer the previous auto-commit result before running the next query, so earlier writes are visible and their locks are released. This fixes LockAcquisitionTimeout and out-of-order writes between consecutive queries in a session (#283, #333).
  • runStatements() retries each statement on its own again, so a retry no longer re-runs statements that already committed (#333).
  • Buffered results no longer lose rows ("Cannot rewind cursor"), and summary/bookmark callbacks run when the summary arrives (#333).
  • The home database is now resolved once per session instead of on every connection acquire (#332).

Note for extenders

  • BoltConnection::subscribeResult() now takes a BoltResult instead of a CypherList. This only affects code that subclasses BoltConnection or calls the method directly.