Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.Original topic: 分库分表合并场景下,配置online-ddl不生效
[TiDB Usage Environment] Production Environment
[TiDB Version] v5.3.0
[DM Version] v2.0.6
[Reproduction Path] Use DM to synchronize sharded tables from MySQL to TiDB and merge them into one table. When gh-ost is used to perform DDL operations on the upstream MySQL, the synchronization reports an error that the shadow table does not exist.
[Encountered Problem: Phenomenon and Impact]
[Resource Configuration] Go to TiDB Dashboard - Cluster Info - Hosts and take a screenshot of this page
[Attachments: Screenshots/Logs/Monitoring]
The original table is performing an index addition operation: alter table chapter_report add index idx_shardIdx_userId_updatedTime
(shardIdx
,userId
,updatedTime
)