mco_HA_get_number_of_replicas

This function returns the current number of replicas attached to the master.

For an overview see page HA Applications

Prototype

    MCO_RET mco_HA_get_number_of_replicas(mco_db_h db);

Arguments

db
Connection handle to the master database.

Description

This function is called by the master to get the count of replicas currently attached.