Skip to content

Treat one router as valid in routing table #237

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 27, 2017

Conversation

lutovich
Copy link
Contributor

Previously driver considered routing table with single router to be stale and had to perform rediscovery before read/write transaction. Requirement to have more than 1 router is quite strict and can easily be violated by partially unavailable clusters. Additional rediscoveries in such cases add more load on the available core server.

This PR makes driver tread routing table with single router as not stale, given that other non-staleness requirements are satisfied as well.

Based on #235

Previously driver considered routing table with single router to be
stale and had to perform rediscovery before read/write transaction.
Requirement to have more than 1 router is quite strict and can easily
be violated by partially unavailable clusters. Additional rediscoveries
in such cases add more load on the available core server.

This commit makes driver tread routing table with single router as not
stale, given that other non-staleness requirements are satisfied as well.
@lutovich lutovich force-pushed the 1.3-one-router-valid branch from e1de6b4 to 25d118a Compare April 27, 2017 15:42
@lutovich lutovich merged commit 6dc11f5 into neo4j:1.3 Apr 27, 2017
@lutovich lutovich deleted the 1.3-one-router-valid branch April 27, 2017 16:28
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