This function shutdowns the HA subsystem.
MCO_RET mco_HA_stop ( mco_db_h db)
db | Connection handle to master database |
This function shuts down the HA subsystem. On the master side, it detaches all replicas and stops blocking functions mco_HA_trans_commit_synch()
and mco_HA_async_send_data_to_replicas()
. (These blocking functions will return MCO_E_HA_STOPPED
).
MCO_S_OK | Successful. |
MCO_E_HA_NOT_INITIALIZED | The HA subsystem has not been initialized – the function mco_HA_start() must be called first. |