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

[raft] RemoveReplica #8054

Merged
merged 2 commits into from
Dec 13, 2024
Merged

[raft] RemoveReplica #8054

merged 2 commits into from
Dec 13, 2024

Conversation

luluz66
Copy link
Contributor

@luluz66 luluz66 commented Dec 13, 2024

Allow RemoveRequest to take a request without range. If we are removing zombies,
that means the replica is not in the descriptor, so we don't need the range
descriptor in that case. But we still want to check that the server is the lease
holder of that range.

Known issue: the Cleanup Zombie test can become flaky if we are removing
a leader. I will address it in a follow up PR when I refactor the zombie code.

@luluz66 luluz66 merged commit acf2b3a into master Dec 13, 2024
15 checks passed
@luluz66 luluz66 deleted the remove-replica branch December 13, 2024 02:40
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