Don't let return value of closing conn overwrite WT_TRY_SALVAGE

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.9, 4.0.3, 4.1.3, WT3.2.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines 2018-09-10
    • None

      In WT-4283 if we see the internal flag for corruption set and the system has panic'ed we translate the return value to WT_TRY_SALVAGE. We need to loosen the check on ret == WT_PANIC because there are some paths that don't force the panic but end up returning WT_ERROR instead. So loosen the conditional to be any error that isn't WT_RUN_RECOVERY and the corruption flag is set to translate.

              Assignee:
              Susan LoVerso (Inactive)
              Reporter:
              Susan LoVerso (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: