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

salvage releases pages, then explicitly evicts them.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0
    • Labels:
      None

      Description

      The salvage code has code like this:

              ret = __wt_page_release(session, ref, 0);
              if (ret == 0)
                      ret = __wt_evict(session, ref, true);
      

      That's not safe, because eviction could have evicted the page in-between those calls.

        Attachments

          Activity

            People

            • Assignee:
              keith.bostic Keith Bostic
              Reporter:
              keith.bostic Keith Bostic
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: