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

Eviction may proceed/be stuck with a page that has the prefetch flag on

    • Type: Icon: Task Task
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cache and Eviction
    • Storage Engines
    • 3
    • 2024-05-28 - FOLLOW ON SPRINT

      • At the end of __wt_page_can_evict, we check if the WT_REF_FLAG_PREFETCH flag is set and return false if that's the case as we don't want to evict a page that has this flag.
      • However, we can early return true before that check. This means we can try to evict a page that has the prefetch flag on it.
      • Furthermore, __wt_page_can_evict can also be called from __evict_force_check , and early return, here as well.

      If we should not evict a page that has the prefetch flag on, we should check this first before potentially returning true.

            Assignee:
            monica.ng@mongodb.com Monica Ng
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: