-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Cache and Eviction
-
Storage Engines
-
StorEng - Defined Pipeline
The function _wt_evict_stats_update is currently called from outside the eviction module ( _wt_conn_stat_init ) and is responsible for initialising eviction-related statistics during the startup process. While running it outside of startup does not cause functional failures, it resets eviction stats, which might be unintended in some cases.
We should investigate whether this function should be marked as internal to limit external calls and prevent unintended resets of eviction stats.