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

Don't retry eviction if last_eviction_timestamp is not set

    XMLWordPrintableJSON

Details

    • 3
    • Storage - Ra 2020-07-13

    Description

      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.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: