neo4j / neo4j-python-driver

Neo4j Bolt driver for Python
https://neo4j.com/docs/api/python-driver/current/
Other
898 stars 186 forks source link

Invalidate writers per database #959

Closed robsdedude closed 1 year ago

robsdedude commented 1 year ago

The driver now only removes a server as a writer for a single database (before
for all databases) if that server returns an error that notifies the driver that the server is no longer a writer (Neo.ClientError.Cluster.NotALeader or
Neo.ClientError.General.ForbiddenOnReadOnlyDatabase).

Depends on: