[SERVER-69446] Increase electionTimeoutMillis in jstests/replsets/dbcheck_write_concern.js Created: 05/Sep/22  Updated: 29/Oct/23  Resolved: 17/Oct/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.1.1, 4.4.18, 5.0.14, 6.0.3, 6.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Josef Ahmad Assignee: Will Buerger
Resolution: Fixed Votes: 0
Labels: neweng
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:
v6.1, v6.0, v5.0, v4.4
Sprint: Execution Team 2022-10-31
Participants:
Linked BF Score: 5

 Description   

In some slow continuous integration instance like the code coverage build variant, shutting down a mongod has been observed to take up to about a minute. Increase the electionTimeoutMillis to something like 2 minutes to prevent the primary from unexpectedly stepping down and failing the dbCheck invocation with NotWritablePrimary.



 Comments   
Comment by Githook User [ 20/Oct/22 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-69446: Increase electionTimeoutMillis in jstests/replsets/dbcheck_write_concern.js
Branch: v4.4
https://github.com/mongodb/mongo/commit/965cf0fdb27df00e7e45552ec2c359c8772f6c57

Comment by Githook User [ 20/Oct/22 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-69446: Increase electionTimeoutMillis in jstests/replsets/dbcheck_write_concern.js
Branch: v5.0
https://github.com/mongodb/mongo/commit/38b9381c6282a46ac4e906aca4bfdf22e2fae752

Comment by Githook User [ 20/Oct/22 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-69446: Increase electionTimeoutMillis in jstests/replsets/dbcheck_write_concern.js
Branch: v6.0
https://github.com/mongodb/mongo/commit/b1a5204ddaeb02aba84308f841bc336fa8d68666

Comment by Githook User [ 19/Oct/22 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-69446: Increase electionTimeoutMillis in jstests/replsets/dbcheck_write_concern.js
Branch: v6.1
https://github.com/mongodb/mongo/commit/0a1e7752bca461f36383045cf94fc1c91522ea2d

Comment by Githook User [ 17/Oct/22 ]

Author:

{'name': 'Will Buerger', 'email': 'will.buerger@mongodb.com', 'username': 'wbuerger46'}

Message: SERVER-69446: Increase electionTimeoutMillis in jstests/replsets/dbcheck_write_concern.js
Branch: master
https://github.com/mongodb/mongo/commit/78adcf8fb1a111a37b843bb62606418c307c8e13

Generated at Thu Feb 08 06:13:29 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.