Skip to content

node_id or store_id in SHOW EXPERIMENTAL_RANGES #6302

Open
@neeral

Description

@neeral

Exalate commented:

The documentation for SHOW EXPERIMENTAL_RANGES says that the output contains node IDs.

Which nodes contain the range replicas

https://www.cockroachlabs.com/docs/v2.1/show-experimental-ranges.html

However, I've observed that the "replicas" column actually outputs store IDs, not node IDs. I've observed this on both cockroach v2.0 and v2.1. It is probably also present on newer versions, haven't checked though.

Is this a bug in the documentation or in the SQL command?

To Reproduce
Create a cluster which has some nodes whose store IDs do not match their node IDs. Create some tables. Run show experimental ranges. Compare the "replicas" column in output with that of the range report (from admin UI).

Jira Issue: DOC-405

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions