Skip to content

Rollback transaction after failure in transaction functions #397

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 2 commits into from
Jul 20, 2018

Conversation

lutovich
Copy link
Contributor

Previously, when transaction function failed with a retryable error transaction was not explicitly rolled back. This could cause driver not return connections back to the pool.

This PR fixes the problem by adding an explicit rollback after a failed transaction function.

lutovich added 2 commits July 20, 2018 16:03
Previously, when transaction function failed with a retryable error
transaction was not explicitly rolled back. This could cause driver
not return connections back to the pool.

This commit fixes the problem by adding an explicit rollback after
a failed transaction function.
Copy link
Contributor

@ali-ince ali-ince left a comment

Choose a reason for hiding this comment

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

👍

@ali-ince ali-ince merged commit 53a0c9d into neo4j:1.6 Jul 20, 2018
@lutovich lutovich deleted the 1.6-tx-function-retry-fix branch July 20, 2018 15:27
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