Change eviction server update tracking to be more precise

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Engines - Transactions
    • 1,771.356
    • SE Transactions - 2026-02-27, SE Transactions - 2026-03-13, SE Transactions - 2026-05-08
    • 5

      We have been having some issues finding and queueing pages in the cache that help meet the updates target, especially in cases where the cache is very large.

      I noticed that the eviction server uses page->modify != NULL as a proxy for a page contributing to the updates content in cache. That isn't always the case, there are two notable exceptions:

      • Internal pages
      • Pages associated with trees that are configured to be in-memory

      I suggest that we abstract out the check as to whether a page is a candidate to meet the updates threshold, so we can consistently check a (slightly) broader set of criteria.

            Assignee:
            Unassigned
            Reporter:
            Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: