-
Type: Task
-
Resolution: Gone away
-
Priority: 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.
- is related to
-
WT-12945 Fix race between prefetch and eviction
- Closed