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

Consider changing cluster membership to not rely on clock time #297

Open
purplefox opened this issue Oct 3, 2024 · 0 comments
Open

Consider changing cluster membership to not rely on clock time #297

purplefox opened this issue Oct 3, 2024 · 0 comments
Milestone

Comments

@purplefox
Copy link
Contributor

The current cluster membership eviction algorithm requires on clocks to be synced between members so that members are evicted after the proper time without updating themselves. If clocks are not synced - this could result in members being evicted too quickly or not evicted when they should be after failing.

We can consider a different membership algorithm where, instead of maintaining last updated time on each member in the shared state, we maintain a number of pings count which is incremented every time a member updates themself. If a member hasn't updated themself enough times since the last check, they are evicted.

@purplefox purplefox added this to the 1.0 milestone Oct 3, 2024
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