[DOCS-610] Link rs.add() to replica set configuration parameters, mention rs.reconfig() Created: 15/Oct/12  Updated: 30/Oct/23  Resolved: 15/Oct/12

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: mongodb-2.2
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Major - P3
Reporter: Thomas Rueckstiess Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 11 years, 18 weeks, 2 days ago

 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:

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.



 Comments   
Comment by auto [ 15/Oct/12 ]

Author:

{u'date': u'2012-10-15T08:11:29-07:00', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-610 clarifying rs.add use
Branch: master
https://github.com/mongodb/docs/commit/503cc2fd300e4af7163bebfc5c8516c6b5b784e4

Generated at Thu Feb 08 07:39:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.