Help Center/ Data Replication Service/ Real-Time Synchronization/ Task Management/ Task Life Cycle/ Exchanging the Direction for a Two-Way Synchronization Task
Updated on 2024-07-11 GMT+08:00

Exchanging the Direction for a Two-Way Synchronization Task

In two-way synchronization, only forward tasks support DDL execution to prevent DDL loopback. DRS allows you to exchange the direction of a synchronization task. You can use this function to change the task role to enable DDL execution on backward tasks.

Constraints

  • Only two-way synchronization tasks support this function.
  • The direction can be exchanged only when both the forward and backward tasks are paused.
  • You need to resume the task to apply the change.

Procedure

  1. On the Data Synchronization Management page, locate the paused two-way synchronization task.

    Subtask 1 is a forward task.

  2. Click Exchange Direction in the Operation column of the task.
  3. In the displayed dialog box, click Yes.
  4. After the direction exchange, view that the synchronization relationship of subtask 1 changes and subtask 1 becomes a backward task.
  5. Click Resume in the Operation column of the subtask.