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.
76892: status: add locality information, additional lease info, to Ranges endpoint r=rimadeodhar,dhartunian a=abarganier This PR updates the `Ranges` response and associated UI to display locality, `is_leaseholder`, and `lease_valid` information. All these pieces of metadata are easily accessible within the Replica or the metrics that are generated as part of the process of serving a `Ranges` request. Since adding this information costs us very little, and provides valuable info in the context of debugging, this commit adds both fields to the `RangeInfo` proto included in the `RangesResponse`. The commit also surfaces this information in the problem ranges /ranges UI within DB console. Looking forwward, we can also provide this information in the response for the upcoming `TenantRanges` endpoint, which acts as a wrapper over the existing `Ranges` endpoint. Release note (ui change); display locality information in problem ranges and range status. Also display is_leaseholder and lease_valid information in problem ranges and range status pages. Release justification: Low risk, high benefit changes to existing functionality Co-authored-by: Alex Barganier <[email protected]>
- Loading branch information
Showing
4 changed files
with
125 additions
and
0 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
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