[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: |