[DOCS-982] Comment on: "reference/method/rs.add.txt" Created: 14/Jan/13  Updated: 30/Oct/23  Resolved: 25/Feb/13

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Improvement Priority: Minor - P4
Reporter: José Manuel Ciges Regueiro Assignee: Sam Kleinman (Inactive)
Resolution: Done Votes: 0
Labels: commands, replicaset
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 10 years, 51 weeks, 2 days ago

 Description   

In the last command of this page:

rs.add(

{ "host": "mongodbd3.example.net:27017", "priority": 0 }

)

the numeric id of the server in the replicaset configuration must be included also to make it work. By example:

rs.add(

{ "_id": 1, "host": "yval0160:27017", "priority": 0 }

)



 Comments   
Comment by auto [ 25/Feb/13 ]

Author:

{u'date': u'2013-02-25T20:53:24Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-982: adding clarification to rs.add method documentation
Branch: master
https://github.com/mongodb/docs/commit/1f1eef6e017547dc45e8c82003b10eda469da625

Comment by auto [ 25/Feb/13 ]

Author:

{u'date': u'2013-02-25T20:53:24Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-982: adding clarification to rs.add method documentation
Branch: v2.2
https://github.com/mongodb/docs/commit/3dbe65de1740fc8dff19d531f789aa5ba3d42a50

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