Investigate if __wt_evict_stats_update should be an internal function

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Transactions
    • SE Transactions - 2025-05-23
    • 3

      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.

       

              Assignee:
              [DO NOT USE] Backlog - Storage Engines Team
              Reporter:
              Sid Mahajan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: