Skip to content
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

Deprecated old routing retry settings #342

Merged
merged 1 commit into from
Apr 5, 2017

Conversation

lutovich
Copy link
Contributor

This PR deprecates ConfigBuilder#withRoutingFailureLimit() and ConfigBuilder#withRoutingRetryDelay() methods because they are now obsolete. They were initially introduced to postpone failure when no routers are available. Currently there exists a better way of doing this with transaction functions (Session#readTransaction() and Session@writeTransaction()). Driver also memorizes the seed URI and falls back to it during rediscovery when all other routers are dead.

This commit deprecates `ConfigBuilder#withRoutingFailureLimit()` and
`ConfigBuilder#withRoutingRetryDelay()` methods because they are now obsolete.
They were initially introduced to postpone failure when no routers are
available. Currently there exists a better way of doing this with transaction
functions (`Session#readTransaction()` and `Session@writeTransaction()`).
Driver also memorizes the seed URI and falls back to it during rediscovery
when all other routers are dead.
@zhenlineo
Copy link
Contributor

Should this be merged to 1.2 or 1.3 branch?

@lutovich lutovich changed the base branch from 1.3 to 1.2 April 5, 2017 07:46
@lutovich
Copy link
Contributor Author

lutovich commented Apr 5, 2017

@zhenlineo changed the base branch to 1.2

@zhenlineo zhenlineo merged commit f109c36 into neo4j:1.2 Apr 5, 2017
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.

2 participants