alter table <table name> rename index failed
Bug Report
Please answer these questions before submitting your issue. Thanks!
-
What did you do? If possible, provide a recipe for reproducing the error.
-
What did you expect to see? upstream: mysql 5.7.30 downstream: tidb 4.0.3 mysql execute alter table tablename rename index idx_indexname1 to idex_indexname2; dm-worker: task is pasue

-
What did you see instead?
-
Versions of the cluster
-
DM version (run
dmctl -Vordm-worker -Vordm-master -V):(paste DM version here, and you must ensure versions of dmctl, DM-worker and DM-master are same) -
Upstream MySQL/MariaDB server version:
(paste upstream MySQL/MariaDB server version here) -
Downstream TiDB cluster version (execute
SELECT tidb_version();in a MySQL client):(paste TiDB cluster version here) -
How did you deploy DM: DM-Ansible or manually?
(leave DM-Ansible or manually here) -
Other interesting information (system version, hardware config, etc):
-
-
current status of DM cluster (execute
query-statusin dmctl) -
Operation logs
- Please upload
dm-worker.logfor every DM-worker instance if possible - Please upload
dm-master.logif possible - Other interesting logs
- Output of dmctl's commands with problems
- Please upload
-
Configuration of the cluster and the task
-
dm-worker.tomlfor every DM-worker instance if possible -
dm-master.tomlfor DM-master if possible - task config, like
task.yamlif possible -
inventory.iniif deployed by DM-Ansible
-
-
Screenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus for DM if possible
optimistic shard DDL can't support this now (see 使用限制), but we may handle RENAME INDEX as a special case later.