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

Handle closed client connection after registration #16407

Merged
merged 1 commit into from Jan 6, 2020

Conversation

metanet
Copy link
Contributor

@metanet metanet commented Jan 6, 2020

It could happen that this connection is already closed and onConnectionClose()
is called even before the authentication handling logic is executed. In this
case, now we have a closed but registered connection in the client connection
manager. We do a final check to remove this connection if needed.

This check was already here before and removed with 3d897c2 because of wrong
reasoning.

Fixes #16288

It could happen that this connection is already closed and onConnectionClose()
is called even before the authentication handling logic is executed. In this
case, now we have a closed but registered connection in the client connection
manager. We do a final check to remove this connection if needed.

This check was already here before and removed with 3d897c2 because of wrong
reasoning.

Fixes hazelcast#16288
@metanet metanet added this to the 4.0 milestone Jan 6, 2020
@metanet metanet requested a review from sancar January 6, 2020 09:41
@metanet metanet requested a review from a team as a code owner January 6, 2020 09:41
@metanet metanet merged commit 33fc094 into hazelcast:master Jan 6, 2020
@mmedenjak mmedenjak added the Source: Internal PR or issue was opened by an employee label Apr 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Source: Internal PR or issue was opened by an employee Team: Client Type: Defect
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SetItemListenerOnReconnectTest.testListenersTerminateCluster_nonSmart_multipleServer
3 participants