[DOCS-6904] Missing documentation for maximum value for replicaSet members _id Created: 05/Jan/16  Updated: 11/Jan/17  Resolved: 28/Jan/16

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: 01112017-cleanup

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

Participants:
Days since reply: 8 years, 2 weeks, 6 days ago

 Description   

https://docs.mongodb.org/manual/reference/replica-configuration/#rsconf.members[n]._id

ReplicaSet configuration "members" "_id" field value range is not documented:
According to https://github.com/mongodb/mongo/blob/r3.2.0/src/mongo/db/repl/member_config.cpp#L225 it's an integer between 0 and 255 included.

Other fields in rsconf.members are fully documented, such as priority: between 0 and 1000.

This undocumented limit was somehow reached by a Chef user (see https://github.com/edelight/chef-mongodb/pull/410).



 Comments   
Comment by Ravind Kumar (Inactive) [ 28/Jan/16 ]

https://github.com/mongodb/docs/commit/05905088

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