Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: TiDB DM上有RDS发生主从切换后binlog和位点无法识别,如何避免不重新全量抽取? 是否可以指定新的binlog文件名和position来增量同步?
After a master-slave switch occurs on RDS in TiDB DM, the binlog and position cannot be recognized. How can we avoid re-extracting the full data? Is it possible to specify a new binlog filename and position for incremental synchronization?
Switch the connection between DM-worker and upstream MySQL instance
It’s not that. It’s about how to change the binlog and position information after switching, so that it continues incremental synchronization.
To stop the task, modify the configuration in the task file to enable safe-mode. The synchronization point should start from the sync checkpoint in the downstream dm_meta. Once the downstream synchronization surpasses the point when the upstream switched, turn off the safe mode.
Reference: Migration task is currently in the Sync
phase Data Migration 常见问题 | PingCAP 文档中心
Okay, I will test and verify it, thank you.
How do you shut it down? Do you stop the task first and then restart it?
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.