-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Cache and Eviction
-
None
-
Storage Engines, Storage Engines - Transactions
-
12.525
-
SE Transactions - 2026-12-04
-
None
-
v9.0
__evict_get_min_pages sets the number of pages an eviction walk sees in a tree before it gives up on a low candidate yield. The budget is 10x target_pages when WT_EVICT_CACHE_CLEAN is set and 100x target_pages otherwise. It stays at 10x when WT_EVICT_CACHE_CLEAN is set together with WT_EVICT_CACHE_DIRTY and/or WT_EVICT_CACHE_UPDATES.
In HELP-101149, a server with ~143k data handles and thinly spread updates sat above both the eviction target and the dirty target. Walks gave up on many trees, the eviction queue was empty on most refills, and application threads were recruited to evict.
Proposed change: use the 100x budget whenever the walk is not clean-only (CLEAN unset, or DIRTY/UPDATES also set). Clean-only walks are unchanged.
Validation: sys-perf perf-required, candidate vs control at the same mongo base; land if there is no regression.