mco_HA_stop

This function shuts down the HA subsystem.

For an overview see page HA Applications

Prototype

    MCO_RET mco_HA_stop(mco_db_h db);

Arguments

db
Connection handle to the master database.

Description

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 return MCO_E_HA_STOPPED.

Return Codes

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.