Skip to content

Mute ACK_FAILURE when sending RESET #417

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
Oct 17, 2017

Conversation

lutovich
Copy link
Contributor

It's needed because RESET makes server terminate all running messages and then moves state machine to idle READY state. That's why it does not expect clients to ACK_FAILURE for terminated messages. Absence of this muting caused server to sometimes fail saying: "ACK_FAILURE cannot be handled by a session in the READY state".

Also removed some unused blocking API classes and better naming for connection methods.

@lutovich lutovich requested a review from zhenlineo October 12, 2017 10:01
@lutovich lutovich force-pushed the 1.5-mute-ack-failure-on-reset branch from 214725d to 87d9686 Compare October 12, 2017 10:03
@lutovich lutovich mentioned this pull request Oct 13, 2017
It's needed because RESET makes server terminate all running messages
and then moves state machine to idle READY state. That's why it does
not expect clients to ACK_FAILURE for terminated messages. Absence of
this muting caused server to sometimes fail saying: "ACK_FAILURE cannot
be handled by a session in the READY state".

Also removed some unused blocking API classes and better naming for
connection methods.
@lutovich lutovich force-pushed the 1.5-mute-ack-failure-on-reset branch from 87d9686 to 1f68f5d Compare October 16, 2017 20:24
@lutovich lutovich merged commit 1f68f5d into neo4j:1.5 Oct 17, 2017
@lutovich lutovich deleted the 1.5-mute-ack-failure-on-reset branch October 17, 2017 08:15
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.

1 participant