[SERVER-62514] dbcheck_write_concern.js should prevent primary from stepping down Created: 11/Jan/22  Updated: 29/Oct/23  Resolved: 24/Jan/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.3.0, 4.4.13, 5.0.7

Type: Bug Priority: Major - P3
Reporter: Louis Williams Assignee: Louis Williams
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:
v5.0, v4.4
Sprint: Execution Team 2022-02-07
Participants:
Linked BF Score: 39

 Description   

The test shuts down the secondary, but if the test runs slowly, the primary will also step down because it can't see the majority of the set.

We could either add another node or increase the primary's electionTimeoutMillis



 Comments   
Comment by Githook User [ 01/Feb/22 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-62514 dbcheck_write_concern.js should prevent primary from stepping down

(cherry picked from commit 575072f9eb4b0847e29781629e3bca9a89cd7c79)
Branch: v4.4
https://github.com/mongodb/mongo/commit/e26f743583dc6f5f487a2c0bef9c4e86ed76fbd0

Comment by Githook User [ 26/Jan/22 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-62514 dbcheck_write_concern.js should prevent primary from stepping down

(cherry picked from commit 575072f9eb4b0847e29781629e3bca9a89cd7c79)
Branch: v5.0
https://github.com/mongodb/mongo/commit/43c6415ca638e2f698270d898f6b1e3c9500b703

Comment by Githook User [ 24/Jan/22 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-62514 dbcheck_write_concern.js should prevent primary from stepping down
Branch: master
https://github.com/mongodb/mongo/commit/575072f9eb4b0847e29781629e3bca9a89cd7c79

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