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

The page visibility check when queuing pages for eviction is overly restrictive

    Details

      Description

      There was a recent failure in test/format automated testing, where the cache became stuck full for 5 minutes. There were 41 pages in a tree and 8 threads, so it should have been possible to evict some pages:

      ++ nice ./t
      [1470623805:998140][120128:0x7fcefffff700], t, eviction-server: Cache stuck for too long, giving up: Connection timed out
      ==========
      cache dump
      file:wt.wt(<live>): 
      	internal: 1 pages, 0MB, 0/1 clean/dirty pages, 0/0 clean/dirty MB, 0MB max page, 0MB max dirty page
      	leaf: 41 pages, 7MB, 1/40 clean/dirty pages, 0/6 clean/dirty MB, 0MB max page, 0MB max dirty page
      file:WiredTigerLAS.wt(<live>): 
      	internal: 1 pages, 0MB, 0/1 clean/dirty pages, 0/0 clean/dirty MB, 0MB max page, 0MB max dirty page
      file:WiredTiger.wt(<live>): 
      	internal: 1 pages, 0MB, 0/1 clean/dirty pages, 0/0 clean/dirty MB, 0MB max page, 0MB max dirty page
      cache dump: total found = 7MB vs tracked inuse 7MB
      total dirty bytes = 6MB
      ==========
      [1470623805:998479][120128:0x7fcefffff700], t, eviction-server: cache eviction thread error: Connection timed out
      [1470623805:998505][120128:0x7fcefffff700], t, eviction-server: the process must exit and restart: WT_PANIC: WiredTiger library panic
      [1470623805:998524][120128:0x7fcefffff700], t, eviction-server: aborting WiredTiger library
      t: process 120128
      /tmp/hudson216129606122146854.sh: line 32: 120128 Aborted                 nice ./t
      

      We should investigate why eviction has stalled.

        Attachments

          Activity

            People

            • Assignee:
              alexander.gorrod Alexander Gorrod
              Reporter:
              alexander.gorrod Alexander Gorrod
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: