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

rs.add("host:port", x) - x determines whether or not the host is an arbiter

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None

    Description

      rs.add({<host>,

      {priority: 1}

      )

      added the host as an arbiter, rather than a member of the replica set with priority 1. The second argument of rs.add() is a boolean that determines whether or not the host will be arbiterOnly. The object

      {priority:1}

      resolved to true, causing confusion (and the server didn't throw an error message).

      A note in the docs about this boolean argument might be helpful.

      Attachments

        Activity

          People

            sam.kleinman Sam Kleinman (Inactive)
            jenna Jenna deBoisblanc
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              11 years, 20 weeks, 6 days ago