mco_HA_get_sequencer

This function returns the number of the "db version" (or "current-ness" in the sense of HA).

For an overview see page HA Applications

Prototype

    MCO_RET mco_HA_get_sequencer(mco_db_h db,
                                  uint8 *seq);

Arguments

db
The database handle.
seq
The address of a variable to receive the current sequencer value.

Description

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.

Return Codes

MCO_S_OK
Successful.