Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-4288

Don't let return value of closing conn overwrite WT_TRY_SALVAGE

    XMLWordPrintable

    Details

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

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              sue.loverso Susan LoVerso
              Reporter:
              sue.loverso Susan LoVerso
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: