Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make channel auto-read management to work on routing driver #548

Merged
merged 2 commits into from
Dec 3, 2018

Conversation

ali-ince
Copy link
Contributor

This PR fixes an issue where the injected RoutingResponseHandler hides the auto-read management capabilities of the delegated PullAllResponseHandler and results in nested queries in a single transaction. The problem only applies to routing driver and was originally fixed with #528.

This PR removes the previously introduced AutoReadManagingResponseHandler interface and makes the capability a part of the ResponseHandler interface with default methods. Both PullAllResponseHandler and RoutingResponseHandler overrides the default implementation and the latter delegates the request to the wrapped handler.

@zhenlineo
Copy link
Contributor

Nice finding. LGTM

@ali-ince ali-ince merged commit 15fc20c into neo4j:1.6 Dec 3, 2018
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants