[SERVER-47467] reconfig_waits_for_config_durability.js should initiate set with high election timeout Created: 10/Apr/20  Updated: 29/Oct/23  Resolved: 10/Apr/20

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 4.4.0-rc1, 4.7.0

Type: Bug Priority: Major - P3
Reporter: William Schultz (Inactive) Assignee: William Schultz (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v4.4
Sprint: Repl 2020-04-20
Participants:
Linked BF Score: 10

 Description   

reconfig_waits_for_config_durability.js uses a 2 node replica set and disconnects the primary from the secondary before killing and restarting the secondary. If the restart is too slow, this can lead to the primary stepping down voluntarily since it can't see a majority. We should initiate the set with a high election timeout to prevent these spurious step downs.



 Comments   
Comment by Githook User [ 10/Apr/20 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-47467 Initiate set with high election timeout in reconfig_waits_for_config_durability.js

(cherry picked from commit ce27e3b6311ed0b4be05bb5a7957be9fd3a52b87)
Branch: v4.4
https://github.com/mongodb/mongo/commit/1a414c9eb3a26a6f33dd348c8540016071a9d5d4

Comment by Githook User [ 10/Apr/20 ]

Author:

{'name': 'William Schultz', 'email': 'william.schultz@mongodb.com', 'username': 'will62794'}

Message: SERVER-47467 Initiate set with high election timeout in reconfig_waits_for_config_durability.js
Branch: master
https://github.com/mongodb/mongo/commit/ce27e3b6311ed0b4be05bb5a7957be9fd3a52b87

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