Skip to content

Fix Aura routing and DatabaseNotFound on managed transactions.#307

Open
p123-stack wants to merge 1 commit into
neo4j-php:mainfrom
nagels-tech:fix/aura-database-routing
Open

Fix Aura routing and DatabaseNotFound on managed transactions.#307
p123-stack wants to merge 1 commit into
neo4j-php:mainfrom
nagels-tech:fix/aura-database-routing

Conversation

@p123-stack
Copy link
Copy Markdown
Collaborator

  • Fixes DatabaseNotFound on Neo4j Aura (neo4j+s://) for writeTransaction() / readTransaction() when using instance-ID databases — driver routing bug in 3.4.3, not Laravel/app config.
  • Adds HomeDatabaseCache to store the home database from Bolt ROUTE and reuse it for later routing table lookups.
  • Normalizes Aura database names in SessionConfiguration (literal neo4j → unset; instance ID kept when valid).
  • Updates Neo4jConnectionPool and Bolt\Session for Aura-aware routing keys, cache invalidation, DatabaseNotFound retry, and correct access mode on managed transactions.
  • Adds Aura regression scripts and composer.laravel-private.example.json for testing and private Composer installs until release.

Cache home database from ROUTE, normalize Aura database names, recover
from DatabaseNotFound, and add Laravel private-install composer examples.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant