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

Fix race with dead server cleanup when adding new raft nodes #20986

Merged
merged 2 commits into from
Jun 5, 2023

Conversation

ncabatoff
Copy link
Collaborator

Don't call AddPeer for a new raft cluster member until it's in raftFollowerStates, or it might get cleaned up by dead server cleanup.

…llowerStates, or it might get cleaned up by dead server cleanup.
@ncabatoff ncabatoff requested review from raskchanky and peteski22 June 5, 2023 14:52
@ncabatoff ncabatoff added this to the 1.12.9 milestone Jun 5, 2023
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.

3 participants