cockroachdb / cockroachdb/cockroach

kv,dbconsole: range report does not accurately depict missing stores in a multi-store setup

Open
#123,563 0 comments 0 reactions 0 assignees View on GitHub
A-kv C-bug P-3 T-kv
Dominant language
Go
Stars
32.5k
Forks
4.1k
PR merge metrics
PR metrics pending

Description

In a multi-store configuration, if a store on a multi-store node is removed (temporarily or permanently), the range report will confusingly show fewer columns than there are members of the Raft group.

This can be confusing, as from the Raft perspective there are still three members, but one is considered unresponsive / behind / dead. In this example, n2s7 was removed.

![Screenshot 2024-05-03 at 08 00 56](https://github.com/cockroachdb/cockroach/assets/804457/87d5f6c0-acf9-43ea-a246-af7626ab8c44)

However, from the perspective of the remaining live members of the Raft group, the missing store is still there. One _can_ infer what is going on, but it is confusing.

Screenshot 2024-05-03 at 08 19 05

Ideally, the range report would have a column for each Raft member. A column could painted red or show some kind of warning to indicate its status (or lack thereof).

Related to #123561, which has the reproduction steps.

Jira issue: CRDB-38400

Epic CRDB-41111

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.