Fix statistics for clean pages seen and queued by eviction

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • WT12.0.0, 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: Statistics
    • None
    • Storage Engines
    • None
    • None
    • v8.2, v8.0, v7.0

      WT-14843 introduced statistics to track the number clean/dirty/updated pages seen by eviction and the number of each type queued for eviction.

      These statistics for clean pages aren't quite right, as they treat clean pages as pages that aren't dirty and don't have updates. But clean and "has updates" are not mutually exclusive. We can have a clean page with updates. This typically happens when a dirty page is written by checkpoint. 

      We should fix the way these statistics are computed:

      • cache_eviction_pages_seen_clean
      • cache_eviction_pages_seen_dirty
      • cache_eviction_pages_seen_updates
      • cache_eviction_pages_queued_clean
      • cache_eviction_pages_queued_dirty
      • cache_eviction_pages_queued_updates

            Assignee:
            Keith Smith
            Reporter:
            Keith Smith
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: