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

Remove repair lock file when WT salvage refused to work on incompatible data files

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc0, 4.7.0
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      Execution Team 2020-04-06
    • Linked BF Score:
      95

      Description

      MongoDB 4.4 will refuse to start up on MongoDB 4.0 and earlier data files. When MongoDB 4.4 is run with --repair against 4.0 files, it will attempt to perform a salvage, but fail. In the case salvage fails because of a version incompatibility, no writes have been performed. In that case, the repair lock file should be removed, allowing MongoDB 4.0 to restart on those data files.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              daniel.gottlieb Daniel Gottlieb
              Reporter:
              daniel.gottlieb Daniel Gottlieb
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: