Navigation

rs.addArb()

On this page

Description

rs.addArb(host)

Adds a new arbiter to an existing replica set.

The rs.addArb() method takes the following parameter:

Parameter Type Description
host string Specifies the hostname and optionally the port number of the arbiter member to add to replica set.

For replica sets with an arbiter, replica set protocol version 1 (pv1) increases the likelihood of rollback of w:1 writes compared to replica set protocol version 0 (pv0). See Replica Set Protocol Versions.

←   rs.add() rs.conf()  →