-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
storage: add replacement ops to allocator
Teach the allocator that there is a concept of "replacing" dead and decommissioning replicas. Add a stub handler for them to the replicate queue that does exactly what AllocatorAdd does, i.e., maintain the previous behavior. A follow-up commit will then teach the replicate queue to actually issue replica replacement operations both for these two new options as well as in AllocatorConsiderRebalance. When that is established, we should be in a place where the replicate queue never puts ranges into fragile intermediate configurations except that it will still transition through even configurations when upreplicating (which can be tackled separately). Release note: None
- Loading branch information
Showing
3 changed files
with
231 additions
and
158 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.