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

Don't let return value of closing conn overwrite WT_TRY_SALVAGE

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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:
            sue.loverso@mongodb.com Susan LoVerso
            Reporter:
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: