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

Always salvage WiredTiger metadata regardless of error code when starting with repair

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.5, 4.1.5
    • Component/s: Storage
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.0, v3.6
    • Sprint:
      Storage NYC 2018-11-05
    • Linked BF Score:
      91

      Description

      Currently, we only attempt to salvage WiredTiger metadata when the return code from wiredtiger_open is WT_TRY_SALVAGE. Unfortunately returning this error code from all points of failure in WiredTiger is difficult. There are cases, like WT-4345, where WT_NOTFOUND is returned instead, but an unconditional salvage would have allowed --repair to succeed.

       

       

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: