New Information Available to Replicated Applications

New Error
New Replication Manager Event
New Replication Manager Statistic
New Replication Manager Site Field
New Replication Manager Site Flag

Several small enhancements have been made to the base replication and replication manager APIs.

New Error

DB_ENV->rep_set_priority() returns the new error DB_REP_INELECT if attempting to change the database environment's priority while an election is in progress.

New Replication Manager Event

DB_EVENT_REP_AUTOTAKEOVER

The current process, which was previously a subordinate process, has taken over as the replication process.

New Replication Manager Statistic

ST_GROUP_STABLE_LOG_FILE

The stable log file indicates the earliest log file which is still potentially needed by at least one site in the replication group and should not yet be archived.

New Replication Manager Site Field

MAX_ACK_LSN

The log sequence number (LSN) of the most recent transaction acknowledged as durable by this remote client site.

New Replication Manager Site Flag

DB_REPMGR_ISELECTABLE

This is a new flags value in the DB_REPMGR_SITE structures returned by DB_ENV->repmgr_site_list(). The DB_REPMGR_ISELECTABLE value means that the site can potentially be elected master.