-
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.
kvserver: fix flake in TestReportUnreachableRemoveRace
Fixes #59209 This cyles through adding/removing replicas, we need to wait for the removal and addition to go through, before trying the next round otherwise the cluster could be still taking out a replica when we try to add it back, or it could still be adding it when we try to remove it. Additionally the circuit breaker was triggered on the wrong node, we need to trigger it on all the nodes but the new leader instead of the otherway around. Release note: None
- Loading branch information
Showing
1 changed file
with
24 additions
and
6 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