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

buildIndexes option for replica set member cannot change on existing members

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • mongodb-2.2
    • manual
    • None

    Description

      Below link points to the doc for rs.conf() and rs.reconfig() parameter "buildIndex":

      http://docs.mongodb.org/manual/reference/replica-configuration/#members[n].buildIndexes

      While most rs parameters can be changed for existing members, buildIndex must be specified when adding new member. Otherwise it fails with:

      {
      	"errmsg" : "exception: buildIndexes may not change for members",
      	"code" : 13476,
      	"ok" : 0
      }

      This should be mentioned in the docs.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6 years, 19 weeks, 4 days ago