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

Full TCP sync in a large-scale cluster may "revive" a gone node for a long time #312

Open
vitalif opened this issue Oct 21, 2024 · 0 comments

Comments

@vitalif
Copy link

vitalif commented Oct 21, 2024

Hi.

I'm testing memberlist in a ~4500 node cluster and I observed another nontrivial issue where a removed node was being "revived" and lost again many times by different nodes during ~6 hours after it was gone.

As I understand, it's related to full TCP sync mechanism, because normally "aliveNode" messages only originate from the node itself. BUT during full TCP sync, these "aliveNode" messages may originate from any node which participates in the full sync. Which may lead to "migratory" aliveNode messages in the cluster if it's large enough, especially when you restart the whole cluster at the same time. I.e. different nodes mark it as alive, re-broadcast the gossip message, then, at some time, they try to ping the node, discover that it's actually dead and remove it back. In my case it was happening for ~6 hours, until the node was finally removed from all nodes.

I haven't encountered this problem after I disabled full sync.

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

No branches or pull requests

1 participant