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

Fix periodic commit in server #6995

Merged
merged 1 commit into from Apr 20, 2016
Merged

Fix periodic commit in server #6995

merged 1 commit into from Apr 20, 2016

Conversation

davidegrohmann
Copy link
Contributor

Periodic commit wasn't working in server due to the fact of nesting a
placebo transaction for executing the Cypher statement. This placebo
transaction was preventing periodic commit to actually commit in the
middle of the query. This commit fixes that behaviour by executing
periodic commit in a toplevel transaction.

{
transaction.terminate();
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Terminate the terminator!

Periodic commit wasn't working in server due to the fact of nesting a
placebo transaction for executing the Cypher statement. This placebo
transaction was preventing periodic commit to actually commit in the
middle of the query.  This commit fixes that behaviour by executing
periodic commit in a toplevel transaction.
@davidegrohmann davidegrohmann merged commit 3599e18 into neo4j:3.0 Apr 20, 2016
@davidegrohmann davidegrohmann deleted the 3.0-fix-periodic-commit-server branch April 20, 2016 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants