Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-14275

Add a new stat for how many times a page couldn't be added to the eviction queue

    • Storage Engines
    • 5
    • StorEng - 2025-03-28

      See WT-13672 for additional context

      This ticket adds a new stat that reports how many times the server found a page but failed to add it to the eviction queue before it was successful.

      This will likely require a new field on the WT_PAGE, or some tracking logic in the evict module. We don't need to know which page required X eviction attempts, just the maximum value for any page that was added to the queue during a certain time period. Similar to WT-14273 we can use "maximum page size seen at eviction" as an existing example for how the stat should be tracked.

      This stat should be incremented each time the server attempts to add the page to a queue, and reported then cleared each time it is successfully added to the queue.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: