Details
-
Improvement
-
Resolution: Done
-
Major - P3
-
mongodb-2.2
-
None
Description
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:
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.