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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Replication 2021-11-29
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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).

            Assignee:
            Matthew Russotto (Inactive)
            Reporter:
            Samyukta Lanka
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: