[SERVER-34834] Wait for replication of FCV document before downgrading binaries in clear_and_reinstate_keys_rs.js Created: 03/May/18  Updated: 29/Oct/23  Resolved: 04/May/18

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

Type: Bug Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
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
Operating System: ALL
Sprint: Sharding 2018-05-07
Participants:
Linked BF Score: 56

 Description   

This test calls setFCV on a replica set, which inserts the FCV document with majority write concern, then tries to downgrade its binaries, which starts with the set's secondaries. If one of the secondaries hasn't replicated the FCV document before it is put into maintenance mode as part of downgrade here, it will hit this fassert when apply the batch with the FCV document.

The test should wait for replication before downgrading to avoid this problem. This test only exists on the 3.6 branch.



 Comments   
Comment by Githook User [ 04/May/18 ]

Author:

{'email': 'jack.mulrow@mongodb.com', 'name': 'Jack Mulrow', 'username': 'jsmulrow'}

Message: SERVER-34834 Wait for replication of FCV document before downgrading binaries in clear_and_reinstate_keys_rs.js
Branch: v3.6
https://github.com/mongodb/mongo/commit/e90af3fa7b1fcc56a7f215173806d2bc441e7e90

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