-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
severity/moderatesig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Setup a cluster with 2 tidb nodes.
Run the SQL below in each node:
select tidb_table_id, table_name from information_schema.tables where table_schema='metrics_schema' and table_name='tidb_ddl_total_time' limit 1;
2. What did you expect to see? (Required)
The query returns the same result in different TiDB nodes.
3. What did you see instead (Required)
The results are not the same.
In one node
> select tidb_table_id, table_name from information_schema.tables where table_schema='metrics_schema' and table_name='tidb_ddl_total_time' limit 1;
+---------------------+---------------------+
| tidb_table_id | table_name |
+---------------------+---------------------+
| 4611686018427408458 | tidb_ddl_total_time |
+---------------------+---------------------+
In another node
> select tidb_table_id, table_name from information_schema.tables where table_schema='metrics_schema' and table_name='tidb_ddl_total_time' limit 1;
+---------------------+---------------------+
| tidb_table_id | table_name |
+---------------------+---------------------+
| 4611686018427408007 | tidb_ddl_total_time |
+---------------------+---------------------+
1 row in set
Time: 0.010s
4. What is your TiDB version? (Required)
Metadata
Metadata
Assignees
Labels
severity/moderatesig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.