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

XMLWordPrintableJSON

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

      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
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: