Skip to content

add index failed with error "Error 1105 (HY000): etcdserver: requested lease not found" when injection pd leader network partition  #56550

@Lily2025

Description

@Lily2025

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

1、tidb_enable_dist_task='on'
2、run sysbench
3、add index for one table
4、injection pd leader network partition
tidb-0.log.zip
tidb-1.log.zip

2. What did you expect to see? (Required)

add index failed with error "Error 1105 (HY000): etcdserver: requested lease not found"

add index failed at 2024-10-02 17:47:22: Error 1105 (HY000): etcdserver: requested lease not found
operatorLogs:
[2024-10-02 17:43:21] ###### start adding index
ALTER TABLE sbtest1 ADD INDEX index_test_1727862201803(c)
[2024-10-02 17:43:21] ###### wait for ddl job finish

3. What did you see instead (Required)

add index success

4. What is your TiDB version? (Required)

./tidb-server -V
Release Version: v8.4.0-alpha-325-g74034d4
Edition: Community
Git Commit Hash: 74034d4
Git Branch: HEAD
UTC Build Time: 2024-09-30 12:15:59
GoVersion: go1.21.13
Race Enabled: false
Check Table Before Drop: false
Store: unistore
2024-10-02T14:15:43.671+0800

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions