The region_id output by the "show table xx regions" command may be incorrect.
Open
severity/moderate
sig/sql-infra
type/bug
- Dominant language
- Go
- Stars
- 40.5k
- Forks
- 6.2k
- PR merge metrics
- PR metrics pending
Description
## Bug Report
Please answer these questions before submitting your issue. Thanks!
### 1. Minimal reproduce step (Required)
show table mysql.stats_top_n regions
For example, the output region_id is 145772.
### 2. What did you expect to see? (Required)
The result should be consistent with the region_id obtained from the SQL statement "select * from INFORMATION_SCHEMA.TIKV_REGION_STATUS where table_id=xx".
For example, the output region_id is 14577279.
### 3. What did you see instead (Required)
the output region_id is 145772 , not 14577279.
### 4. What is your TiDB version? (Required)
4.0.14
Contributor guide
Assessment
This issue has not been assessed yet.