forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This test was performing a configuration change by talking directly to one of the range's replicas. Instead, this change switches it to use an Admin request which gets routed to the leaseholder. It's better if the leaseholder coordinates the configuration change; a non-leaseholder can error out because it might try to send snapshot before it applied the preceding descriptor change locally (see cockroachdb#56596). The test seems to currently work realiably, but, without this patch, becomes flaky with the next commit which restricts who can take the lease for a range with no lease. Release note: None
- Loading branch information
1 parent
00798f9
commit 3c2656b
Showing
2 changed files
with
6 additions
and
27 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