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

Delete WiredTigerPreplog and WiredTigerTmpLog files instead of moving them in the InitialSyncFileMover

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.2.0
    • None
    • None
    • None
    • Fully Compatible
    • Replication 2021-11-29

    Description

      WiredTiger owns the file space of any file with the WiredTiger prefix and often only look for prefixes rather than entire filenames when manipulating files. Our current implementation of renaming files that already exist in the dbpath and then moving them causes issues for WiredTigerPrepLog and WiredTigerTmpLog files as a result.

      One such issue happens when a PrepLog file was renamed before initial sync files were moved, but WT tries to delete the PrepLog file twice (because of its use of prefixes and extracting the log number from the file).

      Attachments

        Activity

          People

            matthew.russotto@mongodb.com Matthew Russotto
            samy.lanka@mongodb.com Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: