-
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 up/downreplication status of non-voters in range report
This commit updates the `calcRangeCounter()` method to consider non-voting replicas when determining whether a range is over or under-replicated. Without this change, ranges that have any non-voting replicas would show up as under-replicated on the DB console range report page. Release note: None Release justification: fixes misreporting of replication status of a range
- Loading branch information
1 parent
4119ed0
commit 4e1c8da
Showing
3 changed files
with
101 additions
and
18 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