[DOCS-11115] Update documentation on adding a new replica set member to recommended adding with no votes Created: 11/Dec/17  Updated: 30/Oct/23  Resolved: 22/Feb/18

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

Type: Task Priority: Major - P3
Reporter: Spencer Brody (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-32237 Nodes that cannot become primary must... Closed
Participants:
Days since reply: 5 years, 51 weeks ago

 Description   

When you add a normal replica set member, while it's in initial sync it still counts as a voting member towards the majority commit point, but its data is inconsistent, it cannot serve reads, and it cannot become primary. This can lead to a case where a majority of the voting nodes of the set are online but no primary can be elected.

The recommended procedure for adding a new node to a replica set should be to add it with priority:0 and votes:0, and then once it has finished initial sync and transitioned into SECONDARY state do another reconfig to make it voting and electable.



 Comments   
Comment by Githook User [ 21/Feb/18 ]

Author:

{'email': 'kay.kim@10gen.com', 'name': 'kay', 'username': 'kay-kim'}

Message: docs-11115 rs.add and initial sync
Branch: v3.2
https://github.com/mongodb/docs/commit/855f73b81a6be11ac23728deb5f24d1b635dd692

Comment by Githook User [ 21/Feb/18 ]

Author:

{'email': 'kay.kim@10gen.com', 'name': 'kay', 'username': 'kay-kim'}

Message: docs-11115 rs.add and initial sync
Branch: v3.4
https://github.com/mongodb/docs/commit/79cc1388cd3ca827be3a4f27273b5c5d04148d43

Comment by Githook User [ 21/Feb/18 ]

Author:

{'email': 'kay.kim@10gen.com', 'name': 'kay', 'username': 'kay-kim'}

Message: docs-11115 rs.add and initial sync
Branch: master
https://github.com/mongodb/docs/commit/d0a66bba745f6bbaeddf32739e16c0671f9a0d73

Generated at Thu Feb 08 08:02:05 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.