[SERVER-33472] limit number of electable nodes in upgrade_to_ssl_nossl.js Created: 23/Feb/18  Updated: 29/Oct/23  Resolved: 23/Feb/18

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.7.3

Type: Improvement Priority: Major - P3
Reporter: Benety Goh Assignee: Benety Goh
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Repl 2018-03-12
Participants:
Linked BF Score: 0

 Description   

upgrade_ssl_nossl.js may fail inside upgradePrimary() (multi_rs.js) on slow machines when both secondaries try to run for election at the same time. We can minimize the likelihood of this happening by having 2 electable nodes in the ReplSetTest configuration instead of 3.



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

Author:

{'email': 'benety@mongodb.com', 'name': 'Benety Goh', 'username': 'benety'}

Message: SERVER-33472 reduce number of electable nodes in upgrade_to_ssl_nossl.js from 3 to 2

This reduces the likelihood of election races on slow machines when restarting nodes.
Branch: master
https://github.com/mongodb/mongo/commit/fd83ef4e9069e4dee7149b3dc589be66590a520f

Generated at Thu Feb 08 04:33:31 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.