Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tidb集群升级到tidb7.1.3版本tidb实例启动不了
[TiDB Usage Environment] Production Environment / Testing / PoC
[TiDB Version] Upgraded from TiDB version v6.5.0 to TiDB 7.1.3, upgrade completed successfully
[Reproduction Path] What operations were performed that led to the issue
[Encountered Issue: Problem Phenomenon and Impact] TiDB instance fails to start, TiKV and PD start normally
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring]
What operations have you performed? Can you list them roughly?
TiDB encountered an exception while retrieving metadata.
Take a look at the TiDB configuration file to see if there is NUMA binding.
After binding NUMA, I tried to remove the NUMA binding core of a TiDB instance, but it still couldn’t start.
Normally, these warnings should not affect the startup, and currently, there are no issues. These are resource controls that need to be configured after TiDB starts. We also did not perform any DDL operations before the upgrade, so we did not check admin show ddl job
.
Check the official documentation to see if there are any missing details.
Using TiUP to Upgrade TiDB | PingCAP Documentation Center
It looks like a system table is missing, causing it to fail to start. Were there any errors reported when upgrading the tidb-server? However, when starting, if the tidb-server detects that the schema_version is incorrect, it should theoretically create it automatically. Or you could try using tiup cluster reload -R tidb
?
Execute tiup cluster display
to check the current cluster status.
Also, execute tiup cluster audit
to see the actual execution order and check if there are any non-standard operations.
There is an issue with the schema_version cache record. It is recommended to back up the data first, create a new cluster, and restore it.
It’s called a cache table, that’s what I call it 
It seems that the issue might be caused by a missing table. Try connecting to the database to check.
Purchase the service and seek official technical support.