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

Don't retry eviction if last_eviction_timestamp is not set

    • 3
    • Storage - Ra 2020-07-13

      There is a bug in __wt_page_evict_retry, where not having last_eviction_timestamp set is considered to have never evicted the page. On a standalone node without oplog, since there are no timestamps, we would get in a pathological case of retrying eviction repeatedly for some pages. This seems to be the cause of the stall seen in SERVER-48395. The check in last_eviction_timestamp needs to be enhanced to consider the timestamp only when actually set to a value other than none.

        1. wt-6484.png
          wt-6484.png
          241 kB
        2. 6484-4.2.png
          6484-4.2.png
          173 kB
        3. 6484-4.2-with-change.png
          6484-4.2-with-change.png
          190 kB

            Assignee:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: