This function detaches (disconnects) all connected replicas.
MCO_RET mco_HA_detach_all_replicas ( mco_db_h db )
db
This function detaches (disconnects) all connected replicas. On the replica side,
mco_HA_attach_master() will return with
stop_reason == MCO_HA_REPLICA_MASTER_REQUESTED_DISCONNECT. This function is implicitly
called by mco_HA_stop().
MCO_S_OK
MCO_E_HA_NOT_INITIALIZED
mco_HA_start()
must be called first.MCO_E_HA_IOERROR
DETACH message to the replica.