[SERVER-47770] replica set reconfig passthroughs should set a higher default election timeout Created: 24/Apr/20  Updated: 01/May/20  Resolved: 29/Apr/20

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

Type: Bug Priority: Major - P3
Reporter: Pavithra Vetriselvan Assignee: Pavithra Vetriselvan
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Duplicate
duplicates SERVER-47544 Stepdown suites can result in spuriou... Closed
Related
is related to SERVER-47544 Stepdown suites can result in spuriou... Closed
Operating System: ALL
Backport Requested:
v4.4
Sprint: Repl 2020-05-04
Participants:
Linked BF Score: 37

 Description   

Currently, the way we determine the election timeout for suites is through the all_nodes_electable field. If this value is false (the default), we will set the election timeout to 24 hours to avoid spurious elections from occurring.

The replica set reconfig passthroughs set all_nodes_electable to true since we want to start with 5 voting nodes and periodically change their votes via reconfig. This causes us to set the default election timeout to 10 seconds, which can cause spurious elections if there are liveness issues.

This causes undesirable behavior with hooks like ValidateCollections and CheckReplOplogs.


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