Skip to content

MRI: Connection failures don't remove routing table entries, sometimes causing retry failures to dead servers #265

@mrhardikjoshi

Description

@mrhardikjoshi

Problem:
In causal cluster when driver encounters connection errors during read or write operation, the failed server addresses remain in the routing table. This causes the driver to continuously attempt connections to dead/unreachable servers.

Solution:
When connection errors occur, the failed server address should be removed from the routing table to prevent future connection attempts until the routing table is refreshed through normal discovery.

Version Information:

  • Neo4j Ruby Driver: 5.7.0.alpha.4
  • Neo4j Version: 4.4.36-enterprise (cluster)
  • Ruby Version: >= 3.4.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions