[SERVER-68931] Drain oplog buffers before applying recipient config Created: 18/Aug/22  Updated: 29/Oct/23  Resolved: 08/Sep/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 6.2.0-rc0

Type: Task Priority: Major - P3
Reporter: Matt Broadstone Assignee: Matt Broadstone
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-67247 Cleanly split recipient nodes from do... Closed
Backwards Compatibility: Fully Compatible
Sprint: Server Serverless 2022-09-05
Participants:
Linked BF Score: 15

 Description   

When a recipient receives a split config, enter drain mode and drain all oplog buffers before applying the recipient config. This ensures that we can choose a node with the highest lastApplied after recipient primary election, since no additional oplog entries will be applied.



 Comments   
Comment by Githook User [ 31/Aug/22 ]

Author:

{'name': 'Matt Broadstone', 'email': 'mbroadst@mongodb.com', 'username': 'mbroadst'}

Message: SERVER-68931 Drain oplog buffers before applying recipient config
Branch: master
https://github.com/mongodb/mongo/commit/8c64e2c4c9a91f863d8911bed6bfe13369242de6

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