Skip to content

Conversation

@lutovich
Copy link
Contributor

Transaction functions (Session#readTransaction() and Session#writeTransaction()) should respect Session#reset() call the same way other statement running operations do. They shouldn't continue retrying after #reset().

This PR makes transaction functions responsive to reset by removing excessive synchronization and adding status code checks so retries do not happen when transaction is explicitly terminated.

Transaction functions (`Session#readTransaction()` and
`Session#writeTransaction()`) should respect `Session#reset()` call the
same way other statement running operations do. They shouldn't continue
retrying after `#reset()`.

This commit makes transaction functions responsive to reset by removing
excessive synchronization and adding status code checks so retries do not
happen when transaction is explicitly terminated.
@zhenlineo zhenlineo merged commit 6a9cab3 into neo4j:1.2 Mar 23, 2017
@lutovich lutovich deleted the 1.2-reset-tx-func branch March 23, 2017 09:36
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