[DOCS-3657] rs.add() - _id is now optional in configuration document. Created: 25/Jun/14  Updated: 16/Mar/15  Resolved: 11/Nov/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.14, mongodb-3.0

Type: Task Priority: Major - P3
Reporter: Benety Goh 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
related to SERVER-14118 rs.add could detect _id Closed
Participants:
Days since reply: 9 years, 9 weeks ago

 Description   

Before SERVER-14118, both _id and host were mandatory fields in the configuration document passed to rs.add():

http://docs.mongodb.org/manual/reference/method/rs.add/#pass-a-member-configuration-document-to-rs-add

As of commit 2e68421 which originated as pull request #688, _id will be computed using the same method when passing the host string to rs.add():

http://docs.mongodb.org/manual/reference/method/rs.add/#pass-a-hostname-string-to-rs-add



 Comments   
Comment by Githook User [ 17/Dec/14 ]

Author:

{u'username': u'tychoish', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}

Message: DOCS-3657: note about rs.add document
Branch: master
https://github.com/mongodb/docs/commit/cfa7ae0947b11a855fb161703504be82b558c5f2

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