[SERVER-68496] Remove expensive dead code in bgsync related to minvalid Created: 02/Aug/22  Updated: 29/Oct/23  Resolved: 10/Aug/22

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

Type: Bug Priority: Major - P3
Reporter: Matthew Russotto Assignee: Matthew Russotto
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2022-08-08, Repl 2022-08-22
Participants:

 Description   

SERVER-58410 removed the code which sets last applied here:

https://github.com/10gen/mongo/blob/1887b2c89ea10f24f1e1d9f08637d4af00f67700/src/mongo/db/repl/bgsync.cpp#L494

It did not remove some of the code around this, which creates an opCtx, takes a collection lock, and takes a mutex. This code is no longer useful and should be removed.


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