# skipClusterReplicationTask {#skipclusterreplicationtask}

## Syntax {#section_bhh_dm2_czb .section}

`skipClusterReplicationTask(taskIds)`

## Arguments {#section_scv_dm2_czb .section}

**taskIds** is a scalar or vector indicating ID of asynchronous replication tasks to be skipped. Task ID can be obtained with function [getMasterReplicationStatus](../g/getMasterReplicationStatus.md).

## Details {#section_xmn_2m2_czb .section}

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](stopClusterReplication.md)\). The skipped task is marked as "finished". After the task is skipped, you can resume the cluster replication with [startClusterReplication](startClusterReplication.md).

## Examples {#section_rl2_fm2_czb .section}

``` {#codeblock_spp_fm2_czb}
skipClusterReplicationTask(1);
```

Related functions: [startClusterReplication](startClusterReplication.md), [stopClusterReplication](stopClusterReplication.md)

