[DOCS-9354] Non-voting member cannot be Primary in PV1 Created: 21/Nov/16  Updated: 30/Oct/23  Resolved: 21/Nov/16

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Andrew Ryder (Inactive) Assignee: Unassigned
Resolution: Duplicate Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates DOCS-8579 Replica Set Upgrade and configuration... Closed
Participants:
Days since reply: 7 years, 12 weeks, 2 days ago

 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
}



 Comments   
Comment by Andrew Ryder (Inactive) [ 21/Nov/16 ]

Not a PV1 thing, this change was 3.2 globally.

Closing as duplicate of DOCS-8579.

Generated at Thu Feb 08 07:58:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.