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

Server should not close clients when client only listens #13578

Conversation

sancar
Copy link
Contributor

@sancar sancar commented Aug 14, 2018

Client was not sending Ping to server when last read time is
up-to-date. When server constantly pushes events to client,
client does not send any ping to server. And consequently,
server closes client because it does not send any ping.

Client logic has changed so that it send pings if there is no
outgoing packages recently, rarther than looking at incoming
packages.

fixes #13576

(cherry picked from commit 9bb70fa)

Client was not sending Ping to server when last read time is
up-to-date. When server constantly pushes events to client,
client does not send any ping to server. And consequently,
server closes client because it does not send any ping.

Client logic has changed so that it send pings if there is no
outgoing packages recently, rarther than looking at incoming
packages.

fixes hazelcast#13576

(cherry picked from commit 9bb70fa)
@sancar sancar force-pushed the fix/serverClosesListeningClient/maint3.x branch from fae0871 to ec5ab10 Compare August 15, 2018 06:49
@sancar sancar merged commit faf6dbf into hazelcast:maintenance-3.x Aug 28, 2018
@sancar sancar deleted the fix/serverClosesListeningClient/maint3.x branch August 28, 2018 09:42
sancar pushed a commit to sancar/hazelcast that referenced this pull request Sep 4, 2018
With the fix hazelcast#13578, the condition of resuming heartbeat is became
broken.

It is fixed so that, heartbeat of a connection becomes healthy when
last read time is lower than heartbeat timeout.
sancar pushed a commit to sancar/hazelcast that referenced this pull request Sep 4, 2018
With the fix hazelcast#13578, the condition of resuming heartbeat is became
broken.

It is fixed so that, heartbeat of a connection becomes healthy when
last read time is lower than heartbeat timeout.

(cherry picked from commit 23af8bf)
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants