Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-60930

Need to create oplog to use local backup cursor.

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Repl 2021-11-01

    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.

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: