mco_HA_commit_window

This function is called by the master to force replicas to confirm a transaction package.

For an overview see page HA Applications

Prototype

 
    MCO_RET	mco_HA_commit_window(	mco_db_h db ) 
 

Arguments

db Connection handle to master database.

Description

This function is called by the master to force replicas to confirm a transaction package (window). It is useful when the transaction window size is more than 1, i.e. when multiple transactions are buffered to be committed together (see mco_HA_set_trans_window_size())

Return Codes

MCO_S_OK Successful.
Other error codes: If not successful, this fuction returns the error code that occurred in mco_trans_commit()