Skip to content

cdc: add index ddl lost when meeting error #12454

@wk989898

Description

@wk989898

What did you do?

run sql "CREATE INDEX xxx"

What did you expect to see?

found the index on the downstream

What did you see instead?

The DDL lost.
Lots of Execute DDL error in the log

[mysql_ddl_sink.go:147]["Execute DDL with error, retry later"]
 ....
[mysql_ddl_sink.go:91] ["async add index ddl is still running"]

Versions of the cluster

Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):

(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):

(paste TiKV version here)

TiCDC version (execute cdc version):

8.5.4

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.affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.area/ticdcIssues or PRs related to TiCDC.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