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

Include owner connection to heart beat check #7252

Merged

Conversation

sancar
Copy link
Contributor

@sancar sancar commented Jan 5, 2016

When client is inactive, server needs to close the
connection so that resources(e.g locks) associated with that connection
can be released. When there are 2 connection from client to server,
we did not want to check owner connection since there were no
heartbeat send over it.
After removing separate owner connection from the system this check
caused a bug. With one connection to each node, all connections
needs to be checked and closed.

Leaving the check for C++ client until, it's architecture is updated
as other clients.

Fixes #5054

When client is inactive, server needs to close the
connection so that resources(e.g locks) associated with that connection
can be released. When there are 2 connection from client to server,
we did not want to check owner connection since there were no
heartbeat send over it.
After removing seperate owner connection from the system this check
caused a bug. With one connection to each node, all connections
needs to be checked and closed.

Leaving the check for C++ client until, it's architecture is updated
as other clients.

Fixes hazelcast#5054
@sancar
Copy link
Contributor Author

sancar commented Jan 5, 2016

verify

@cangencer
Copy link
Contributor

👍 (as long as it's only temporary until c++ client is fixed)

@jerrinot
Copy link
Contributor

jerrinot commented Jan 5, 2016

you could write a unit test which will fail after some date - as a reminder :)))

@sancar
Copy link
Contributor Author

sancar commented Jan 5, 2016

Here is the Cpp issue with 3.6.1 milestone
hazelcast/hazelcast-cpp-client#18

@ihsandemir
Copy link
Contributor

👍

sancar pushed a commit that referenced this pull request Jan 5, 2016
…tBeat/master

Include owner connection to heart beat check
@sancar sancar merged commit 515f041 into hazelcast:master Jan 5, 2016
@sancar sancar deleted the fix/includeFirstConnectionToHeartBeat/master branch January 5, 2016 14:52
@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.

Too long timeout for client connections
5 participants