-
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.
130958: cluster-ui: db page - map store ids to nodes and region r=xinhaoz a=xinhaoz Please review only the latest 2 commits. Previous: #130873 ----------- ### cluster-ui: update nodes status path nodes -> nodes_ui cluster-ui was still using the old node statuses api. The UI should use `nodes_ui` to gather node statuses. Epic: none Release note: None ### cluster-ui: db page - map store ids to nodes and region This commit populates the Node/Regions column of the new db page. It maps store ids to its node ids, and then to the node's region. A new SWR hook to fetch node statuses is added to the nodesApi. The hook also computes the storeID -> nodeID and nodeID -> region maps. Epic: [CRDB-37558](https://cockroachlabs.atlassian.net/browse/CRDB-37558) Fixes: #130886 Co-authored-by: Xin Hao Zhang <[email protected]>
- Loading branch information
Showing
9 changed files
with
114 additions
and
31 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
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
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