-
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: Move replicaGCQueue logic out of LocalProposalData
LocalProposalData is processed only on the proposer, which is unlikely in practice to be the node being removed (but was apparently the case in all of our tests except in rare cases). This deflakes the SplitSnapshotRace tests, which would occasionally end up with the lease on a different store and miss the automatic GC (and because the test uses a manual clock, the background replicaGCQueue scan wouldn't GC them either). Fixes #8416 Fixes #9204
- Loading branch information
Showing
3 changed files
with
21 additions
and
31 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