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

salvage releases pages, then explicitly evicts them.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor - P4
    • Resolution: Done
    • None
    • WT2.9.0
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: