-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
31988: storage: fix GC of subsumed replicas r=bdarnell a=benesch When a range is subsumed, there is a chance that it leaves behind replicas that are marked as destroyed with reason "merge pending." The replica GC queue was previously misinterpreting this to mean that the range had already been GC'd and thus the range would never get GC'd, resulting in a proliferation of intersecting snapshot errors. Additionally take the opportunity to teach the replica GC queue to proactively queue a replica's left neighbor when that left neighbor is blocking the replica from being GC'd. Release note: None Co-authored-by: Nikhil Benesch <nikhil.benesch@gmail.com>
- Loading branch information
Showing
3 changed files
with
76 additions
and
5 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
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
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