This function instantly interrupts the replication processing.
void mco_HA_cancel(const char* cancel_addr,
timer_unit timeout);
cancel_addr
mco_HA_replica_params_t cancelpoint_addr, for example "127.0.0.1:9999".timeout
This function is called by the replica to instantly interrupt replication processing. This causes the mco_HA_attach_master() to return immediately.
MCO_S_OK
MCO_E_NW_INVADDR
cancel_addr does not contain a valid connection string.MCO_E_NW_TIMEOUT
MCO_E_NW_SOCKET
socket() system call.MCO_E_NW_SOCKOPT
setsocket() system call.MCO_E_NW_SOCKIOCTL
ioctl() system call.MCO_E_NW_SELECT
select() system call.MCO_E_NW_CONNECT
connect() system call.