Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
28249: cli: allow `node status` to work in unavailable/broken clusters r=bdarnell a=petermattis Expand the `crdb_internal.gossip_liveness` table to include columns needed to satisfy the basic usage of `node status`. Specifically, added `address`, `build`, `started_at`, `updated_at` and `replicas` columns. Changed `node status` to use `gossip_liveness` instead of `kv_node_status`. The latter table requires the range containing the consistent node status descriptors to be available, while `gossip_liveness` only retrieves info from gossip. `node status` and `node status --decommission` will work on unavailable/broken clusters as long as the node they are pointed to is up. `node status {--stats,--ranges,--all}` continue to require a reasonably healthy cluster. Fixes #16489 Release note (cli change): Enhance `node status` to work on unavailable/broken clusters. Co-authored-by: Peter Mattis <[email protected]>
- Loading branch information