[SERVER-60930] Need to create oplog to use local backup cursor. Created: 22/Oct/21  Updated: 29/Oct/23  Resolved: 26/Oct/21

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

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 2021-11-01
Participants:

 Description   

We use a local backup cursor through DBDirectClient to figure out which files to delete in FileCopyBasedInitialSync. Some parts of this mechanism expect an oplog to exist (waitForAllEarlierOplogWritesToBeVisible is called). During initial sync there may be no oplog, so this fails. Easiest way to fix this is just to create an empty oplog if there isn't one.



 Comments   
Comment by Githook User [ 26/Oct/21 ]

Author:

{'name': 'Matthew Russotto', 'email': 'matthew.russotto@mongodb.com', 'username': 'mtrussotto'}

Message: SERVER-60930 Need to create oplog to use local backup cursor.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/f714698519bb15165396e476d08356769009f1b9

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