Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-6904

Missing documentation for maximum value for replicaSet members _id

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 01112017-cleanup
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None

      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).

            Assignee:
            ravind.kumar Ravind Kumar (Inactive)
            Reporter:
            trsystran Thomas Riccardi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              8 years, 14 weeks ago