After stopping the DM task, will the task synchronize normally if the downstream database name is modified?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: DM任务stop后,修改下游数据库名,任务会正常同步吗?

| username: 超7成网友

Operations:

  1. Configure the task for full + incremental synchronization to downstream database A.
  2. After entering the incremental phase, stop the task and modify the task configuration to synchronize to downstream database B (no other changes).
  3. Use TiDB rename method to change the database name, renaming the tables from database A to database B.
  4. Start the task.

At this point, after starting the task, will the data synchronization still be normal?

| username: songxuecheng | Original post link

Theoretically feasible.

| username: okenJiang | Original post link

It should be possible.

| username: 裤衩儿飞上天 | Original post link

There shouldn’t be any problem.
try it :crazy_face:

| username: TiDBer_yyy | Original post link

Watching, any results?

| username: Hacker007 | Original post link

After pausing, it works. After stopping, following the binlog logs also works.

| username: xingzhenxiang | Original post link

There should be no problem.

| username: 超7成网友 | Original post link

Sure.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.