setDatabaseForClusterReplication
Syntax
setDatabaseForClusterReplication(dbHandle, option)
Arguments
dbHandle
: is a database handle.
option
: is a Boolean value indicating whether to enable asynchronous
replication on the specified database. The default value is false.
Details
This command enables/disables asynchronous replication on the specified database. It can only be executed on the data node of the master cluster.
Related functions: getDatabaseClusterReplicationStatus