stopClusterReplication

Syntax

stopClusterReplication()

Details

Stops cluster replication.

It can only be executed by an administrator on the controller.

  • If it is called in the master cluster, subsequent tasks will not be put in the push queue.

  • If it is called in the slave cluster, new tasks are no longer pulled from the master cluster, but tasks in execution are not stopped.

The configuration parameter replicationMode should be specified before you execute this command.

Parameters

None

Examples

stopClusterReplication();

Related functions: startClusterReplication, skipClusterReplicationTask