Unexpected Error: Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV
Open
affects-8.5
component/ddl
severity/major
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)
1. Create a cluster
2. Import 1m tables into the cluster
3. set @@global.tidb_schema_cache_size = 0;
4. Try to create a partitioned table
### 2. What did you expect to see? (Required)
Create table successfully.
### 3. What did you see instead (Required)
```log
2025/11/18 11:23:09 failed to create tables: create table part_table1_0013: Error 8027 (HY000): Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV
exit status 1
```
### 4. What is your TiDB version? (Required)
master
Contributor guide
Assessment
This issue has not been assessed yet.