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

Non-voting member cannot be Primary in PV1

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • Server
    • None

    Description

      RE: https://docs.mongodb.com/v3.2/tutorial/configure-a-non-voting-replica-set-member

      This setting allows the set to elect these members as primary but does not allow them to vote in elections.

      I believe that in PV1 a non-voting member is also unable to be elected Primary.

      13:11:51@test>var cfg = rs.conf()
      13:12:18@test>cfg.members[1].votes = 0
      0
      13:12:30@test>rs.reconfig(cfg)
      {
              "ok" : 0,
              "errmsg" : "priority must be 0 when non-voting (votes:0)",
              "code" : 103
      }
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            andrew.ryder@mongodb.com Andrew Ryder (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              7 years, 12 weeks, 2 days ago