Skip to content

DDL may get blocked if tidb restarts/downs #46751

@wjhuang2016

Description

@wjhuang2016

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

Kill TiDB when the owner just cleans tidb_mdl_info while not cleaning the etcd info.

If so, that DDL is blocked.

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

DDL finish finally.

3. What did you see instead (Required)

DDL get blocked

4. What is your TiDB version? (Required)

6.5 7.1 master

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-6.5This bug affects the 6.5.x(LTS) versions.affects-7.1This bug affects the 7.1.x(LTS) versions.component/ddlThis issue is related to DDL of TiDB.severity/majortype/bugThe issue is confirmed as a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions