Skip to content

fix: Ensure reactive transaction subsequent runs work during streaming #1636

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 1 commit into from
Apr 22, 2025

Conversation

injectives
Copy link
Contributor

When using reactive transaction, it is possible for one thread to initiate multiple query runs with subsequent results streaming, while the driver thread would be supplying the respective results and handling the streaming. Since all of this uses the same Bolt connection, it is important to make sure it is shared correctly to avoid mismanagement of the Bolt message handling.

@injectives injectives force-pushed the loop branch 5 times, most recently from 807babd to 6a5fea4 Compare April 22, 2025 13:18
When using reactive transaction, it is possible for one thread to initiate multiple query runs with subsequent results streaming, while the driver thread would be supplying the respective results and handling the streaming. Since all of this uses the same Bolt connection, it is important to make sure it is shared correctly to avoid mismanagement of the Bolt message handling.
@injectives injectives changed the title Ensure reactive transaction subsequent query runs work during results streaming fix: Ensure reactive transaction subsequent runs work during streaming Apr 22, 2025
Copy link

@MaxAake MaxAake left a comment

Choose a reason for hiding this comment

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

This looks good to me 👍🏻

@injectives injectives merged commit 65b187c into neo4j:5.0 Apr 22, 2025
19 checks passed
@injectives injectives deleted the loop branch April 22, 2025 17:59
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