-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Cache and Eviction
-
None
-
Storage Engines, Storage Engines - Transactions
-
SE Transactions - 2025-11-07, SE Transactions - 2025-11-21
-
5
As part of WT-12402 we added a number of statistics that track the reason behind why a page isn't queued for eviction. However we still have places in the tree_walk loop that continue, i.e. have found a ref but decided not to queue it that don't increment any statistic.
This can make it not obvious as to why certain things aren't happening in the eviction server and add confusion to HELP tickets.
These if statements in __evict_try_queue_page are relevant:
if (__wt_atomic_load32(&btree->evict_walk_period) == 0 && !__wt_evict_aggressive(session)) return; } /* Evaluate dirty page candidacy, when eviction is not aggressive. */ if (!__wt_evict_aggressive(session) && modified && __evict_skip_dirty_candidate(session, page)) return;fast: /* If the page can't be evicted, give up. */ if (!__wt_page_can_evict(session, ref, NULL)) return; WT_ASSERT(session, evict_entry->ref == NULL); if (!__evict_push_candidate(session, queue, evict_entry, ref)) return;
from function __evict_try_queue_page
- is related to
-
WT-15917 Remove the redundant code that do more scrub eviction for disagg
-
- Backlog
-
-
WT-15807 test_layered39 aborts when closing dhandle as part of verify
-
- Closed
-
-
WT-15966 Don't garbage collect a prepared update until its durable timestamp or rollback timestamp is behind the prune timestamp
-
- Closed
-
-
WT-12402 Add stats to track when eviction server skips walking a tree
-
- Closed
-
-
WT-15977 Reenable verify in teardown for layered Python tests
-
- Closed
-
-
WT-15982 Add checksum to "checkpoint_meta"
-
- Closed
-
-
WT-15915 test/format (disagg.mode=leader) verify failure (no deltas) mismatch in number of Page IDs
-
- Closed
-
-
WT-15999
Add virtual destructor to kv_transaction_snapshot
-
- Closed
-
- related to
-
WT-15807 test_layered39 aborts when closing dhandle as part of verify
-
- Closed
-
-
WT-13815 Fix: Checkpoint doesn't recover the truncated space [test_checkpoint33]
-
- Closed
-