This function returns the number of the "db version" (or "current-ness" in the sense of HA).
MCO_RET mco_HA_get_sequencer ( mco_db_h db, uint8 * seq)
t | The database handle. |
seq | The address of a variable to receive the current sequencer value. |
Sometimes it may be necessary to determine which of the replica's databases is the most relevant. The
mco_HA_get_sequencer()
API can be called to return the number of the "db version" (or "current-ness" in the sense of HA). This number can be used to determine which database is the latest.
MCO_S_OK | Successful. |