skipClusterReplicationTask

Syntax

skipClusterReplicationTask(taskIds)

Details

Skips the specified replication tasks (usually are those caused cluster replication failure). It can only be executed by an administrator on the controller of a slave cluster.

Before a replication task is skipped, cluster replication should be stopped (with stopClusterReplication). The skipped task is marked as "finished". After the task is skipped, you can resume the cluster replication with startClusterReplication.

Parameters

taskIds is a scalar or vector indicating ID of asynchronous replication tasks to be skipped. Task ID can be obtained with function getMasterReplicationStatus.

Examples

skipClusterReplicationTask(1);

Related functions: startClusterReplication, stopClusterReplication