cache_eviction_maximum_page_size statistic is not cleared by checkpoint

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Gone away
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Statistics
    • None
    • Storage Engines - Transactions
    • SE Transactions - 2026-02-27
    • 3

      The cache_eviction_maximum_page_size statistic is supposed to be cleared (reset to zero) on each checkpoint, so that the statistic reports the largest page evicted during each checkpoint period.

      At some point, the code clearing this to zero was removed, so the statistic now effectively shows the largest page ever evicted in the life of the system.

      We should restore the original behavior, probably by setting conn->evict->evict_page_max_size to zero when we clear other per-checkpoint-stats at the beginning of __checkpoint_db_internal()

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: