|
The doc on rs.add() mentions that parameters can be passed in document-style, but should also link to the parameter config page listing all the options:
http://docs.mongodb.org/manual/reference/replica-configuration/#configuration-variables
An example is given here and should also be linked to:
http://docs.mongodb.org/manual/tutorial/expand-replica-set/#add-a-member-to-an-existing-replica-set-alternate-procedure
Lastly, we had some confusion whether a call to rs.add() is needed in addition to rs.reconfig() call. The last sentence at rs.add() could clarify this by changing it to something like
rs.add() provides a wrapper around some of the functionality of the “replSetReconfig” database command and its shell method rs.reconfig().
with link to rs.reconfig.
|