upgrade from v7.5 to master, @@tidb_schema_cache_size incorrect #56544
Labels
affects-8.4
needs-cherry-pick-release-8.4
Should cherry pick this PR to release-8.4 branch.
severity/moderate
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
Start a old version tidb cluster:
kill the tidb-server and restart a master tidb-server
2. What did you expect to see? (Required)
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)
The text was updated successfully, but these errors were encountered: