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: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Cache and eviction
    • Labels:
    • Storage Engines
    • 3
    • StorEng - Defined Pipeline

      • 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:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: