cockroachdb / cockroachdb/cockroach
Cluster with multiple stores per-node indicates "undefined" in the Databases tab
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
Create a cluster (say 3 nodes), with multiple **stores** for example:
```
exec /cockroach/cockroach
start
--cache=.25
--logtostderr
--certs-dir=/cockroach/cockroach-certs
--locality=region=CA-East,zone=Zone-1
--store=path=crdb_store-0,ballast-size=0
--store=path=crdb_store-1,ballast-size=0
--store=path=crdb_store-2,ballast-size=0
--sql-addr=:26257
--listen-addr=:26357
--advertise-addr=172.23.0.4:31850
--locality-advertise-addr=zone=Zone-1@zlamal-172-23-0-4-mesh-local.crdb-canada:26357
--join 172.23.0.4:31850,172.23.0.5:31851,172.23.0.6:31852
```
This example is 1 of 3 nodes, * 3 stores, totalling 9 stores for the cluster (hence the n1...n9 in the following screenshot).
When you look at the Console UI:
1. it looks like there are 9 nodes, but it's actually 9 stores (3 nodes).
2. CA-East is the only region defined, so the stores (n1, n2, n3) appear to be synced-up with the nodes 1, 2,3.
3. "undefined" shows up for the rest of the stores (n4...n9).
- UI should be more clear on what are "nodes" and what are "stores"
- UI should address the "undefined" regionality

**CRDB ver 23.1.11**
Jira issue: CRDB-35753
Contributor guide
Assessment
This issue has not been assessed yet.