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

Make catching_up_ flag durable #562

Merged
merged 1 commit into from
Jan 18, 2025
Merged

Make catching_up_ flag durable #562

merged 1 commit into from
Jan 18, 2025

Conversation

greensky00
Copy link
Contributor

  • If a new member joins a cluster but restarts while receiving the snapshot, its catching_up_ flag will be cleared, causing the join process to stall.

  • To prevent this issue, the catching_up_ flag will be stored as part of the srv_state. After the server restarts, the leader and the server will attempt the snapshot transmission again.

  • The srv_state format has been changed, but it will remain backward compatible.

* If a new member joins a cluster but restarts while receiving the
snapshot, its `catching_up_` flag will be cleared, causing the join
process to stall.

* To prevent this issue, the `catching_up_` flag will be stored as
part of the `srv_state`. After the server restarts, the leader and
the server will attempt the snapshot transmission again.

* The `srv_state` format has been changed, but it will remain
backward compatible.
@greensky00 greensky00 merged commit 3008bef into eBay:master Jan 18, 2025
1 check passed
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.

1 participant