RepStartMaster Method

BerkeleyDB

RepStartMaster is not called by most replication applications. It should only be called by applications implementing their own network transport layer, explicitly holding replication group elections and handling replication messages outside of the replication manager framework.

Replication master environments are the only database environments where replicated databases may be modified. Replication client environments are read-only as long as they are clients. Replication client environments may be upgraded to be replication master environments in the case that the current master fails or there is no master present. If master leases are in use, this method cannot be used to appoint a master, and should only be used to configure a database environment as a master as the result of an election.

Before calling this method, the RepTransport delegate must already have been configured to send replication messages.

Overload List

  NameDescription
RepStartMaster()()()
Configure the database environment as a master in a group of replicated database environments.
RepStartMaster(DatabaseEntry)
Configure the database environment as a master in a group of replicated database environments.

See Also