pingcap / pingcap/tidb

workload report “Error 8027: Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV” after pd leader changed due to pd leader io hang

Open
#44,920 8 comments 0 reactions 1 assignee Claimed by @you06 View on GitHub
may-affects-5.1 may-affects-5.2 may-affects-5.3 may-affects-5.4 may-affects-6.1 may-affects-6.5 may-affects-7.1 severity/moderate sig/transaction 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、run tpcc
2、simulate pd leader io hang for 10m

### 2. What did you expect to see? (Required)
when pd leader changed,tidb should not report error

### 3. What did you see instead (Required)
workload report error after pd leader changed due to pd leader io hang
“Error 8027: Information schema is out of date: schema failed to update in 1 lease, please make sure TiDB can connect to TiKV”

### 4. What is your TiDB version? (Required)
git hash:12c258ebca7b425b3c1b4d3d6232cc664d58fc1f

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.