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

eviction server can get tapped for eviction and stall the system.

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.7.0
    • Labels:
      None

      Description

      There are two places in the page-read code where a reading thread calls __wt_cache_eviction_check without first checking the WT_READ_NO_EVICT flag, and that can lead to deadlock. The case I have is a configuration with no eviction-worker threads, lots of eviction pressure, and so the application threads are busy doing eviction.

      The eviction server thread splits a page, is getting a hazard pointer on the parent, and for some reason can't get it immediately. The eviction server thread then gets pressed into doing more eviction, there are no pages on the queue because the application threads have emptied it, and things stall forever while the eviction server looks for pages on the empty eviction queue.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: