-
Notifications
You must be signed in to change notification settings - Fork 6k
Closed
Labels
affects-8.4needs-cherry-pick-release-8.4Should cherry pick this PR to release-8.4 branch.Should cherry pick this PR to release-8.4 branch.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)
Start a old version tidb cluster:
tiup playground v7.6.0 --tiflash 0
kill the tidb-server and restart a master tidb-server
2. What did you expect to see? (Required)
mysql> select @@global.tidb_schema_cache_size;
+---------------------------------+
| @@global.tidb_schema_cache_size |
+---------------------------------+
| 536870912 |
+---------------------------------+
1 row in set (0.00 sec)
mysql> select * from GLOBAL_VARIABLES where variable_name = 'tidb_schema_cache_size';
Empty set (0.01 sec)
This means the global variable @@tidb_schema_cache_size does not exist in tikv.
So the default value 536870912 is used.
Then upgrade an old tidb cluster from v7.5 to master, it will use infoschema v2.
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
Metadata
Metadata
Assignees
Labels
affects-8.4needs-cherry-pick-release-8.4Should cherry pick this PR to release-8.4 branch.Should cherry pick this PR to release-8.4 branch.severity/moderatesig/sql-infraSIG: SQL InfraSIG: SQL Infratype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.