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.
raft: only call SupportFrom on voters in current config
Informs cockroachdb#125264. This commit updates the raft FortificationTracker to only call StoreLiveness.SupportFrom on voters in the current configuration. This avoids unnecessary calls to the StoreLiveness subsystem for non-voters, which can be expensive. It also avoids calling SupportFrom on removed voters, which as of cockroachdb#133199, can lead to log warnings. Release note: None
- Loading branch information
1 parent
9e49a0b
commit 063813c
Showing
3 changed files
with
49 additions
and
11 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