This function is called by the master to force replicas to confirm a transaction package.
MCO_RET mco_HA_commit_window( mco_db_h db )
db | Connection handle to master database. |
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()
)
MCO_S_OK | Successful. |
Other error codes: | If not successful, this fuction returns the error code that occurred in mco_trans_commit() |