Skip to content

Proper handling of cluster failures for transactions #250

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 3 commits into from
Oct 14, 2016

Conversation

pontusmelke
Copy link
Contributor

We weren't checking for the cluster failures when running on transactions.
All operations should check for leader-switches and connection failures and
handle them appropriately.

Broke out inner classes and provided more tests.
@Override
public void success()
{

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?? why this and the following ones could be left empty?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sorry, missed a push...

`RoutingNetworkSession` now delegates instead of extends
`NetworkSession`
We weren't checking for the cluster faillures when running on transactions.
All operations should check for leader-switches and connection failures and
handle them appropriately.
@zhenlineo zhenlineo merged commit 3b90f2c into neo4j:1.1 Oct 14, 2016
@zhenlineo zhenlineo deleted the 1.1-tx-close branch October 14, 2016 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants