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

salvage releases pages, then explicitly evicts them.

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • WT2.9.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: