pingcap / pingcap/tidb

restore reports information schema is out of date: schema failed to update in 1 lease

Open
#60,259 0 comments 0 reactions 1 assignee Claimed by @3pointer View on GitHub
affects-8.5 component/br 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.Upgrade a TiDB cluster from a version earlier than 8.4.0 to the master branch version.
2.Create a large number of tables in a database on the upgraded cluster.
3.Use the BR from the master branch to perform a database-level restore operation.

### 2. What did you expect to see? (Required)
restore succeed without error.
### 3. What did you see instead (Required)
sometimes restore fail and reports error `Information schema is out of date: schema failed to update in 1 lease`
### 4. What is your TiDB version? (Required)
master

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.