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

Link rs.add() to replica set configuration parameters, mention rs.reconfig()

    XMLWordPrintableJSON

Details

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

    Description

      The doc on rs.add() mentions that parameters can be passed in document-style, but should also link to the parameter config page listing all the options:

      http://docs.mongodb.org/manual/reference/replica-configuration/#configuration-variables

      An example is given here and should also be linked to:

      http://docs.mongodb.org/manual/tutorial/expand-replica-set/#add-a-member-to-an-existing-replica-set-alternate-procedure

      Lastly, we had some confusion whether a call to rs.add() is needed in addition to rs.reconfig() call. The last sentence at rs.add() could clarify this by changing it to something like

      rs.add() provides a wrapper around some of the functionality of the “replSetReconfig” database command and its shell method rs.reconfig().

      with link to rs.reconfig.

      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:
              11 years, 18 weeks, 2 days ago