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

Only (re-)send MEET packet once every handshake timeout period #1441

Open
wants to merge 2 commits into
base: unstable
Choose a base branch
from

Conversation

pieturin
Copy link
Contributor

Add meet_sent field in clusterNode indicating the last time we sent a MEET packet. Use this field to only (re-)send a MEET packet once every handshake timeout period when detecting a node without an inbound link.
Improve some logging messages to include human_nodename. Add nodeExceedsHandshakeTimeout() function.

This is a follow-up to this previous PR: #1307
And a partial fix to the crash described in: #1436

Add meet_sent field in clusterNode indicating the last time we sent a
MEET packet. Use this field to only (re-)send a MEET packet once every
handshake timeout period.
Improve some logging messages to include human_nodename.
Add nodeExceedsHandshakeTimeout() function.

Signed-off-by: Pierre Turin <[email protected]>
@pieturin pieturin force-pushed the cluster-handshake-fix-followup branch from de51f6d to 64903fe Compare December 13, 2024 23:39
Signed-off-by: Pierre Turin <[email protected]>
@pieturin pieturin force-pushed the cluster-handshake-fix-followup branch from 629bfaa to e9b1b3c Compare December 13, 2024 23:53
@pieturin
Copy link
Contributor Author

@enjoy-binbin, @PingXie, please take a look at this PR when you have the chance.

Copy link
Member

@enjoy-binbin enjoy-binbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I also thought about limiting it, but I thought we should be more robust to double packets.

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.

2 participants