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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.5, 4.1.5
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
    • Fully Compatible
    • v4.0, v3.6
    • Storage NYC 2018-11-05
    • 91

      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.

       

       

            Assignee:
            louis.williams@mongodb.com Louis Williams
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: