Change eviction to scrub eviction when the cache usage is less than eviction target

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Transactions
    • SE Transactions - 2025-08-29, SE Transactions - 2025-09-12, SE Transactions - 2025-09-26
    • 5
    • v8.2, v8.0

      Change the eviction strategy to scrub eviction when the cache usage is less than half way between target and trigger.

      At present the condition for scrub eviction is AND of all below three conditions.
      1. Cache usage is less than mid way between eviction target and eviction trigger.
      2. Cache dirty usage is less than mid way between dirty target and dirty trigger.
      3. Cache updates usage is less than mid way between update target and update trigger.

      Change is the discard the condition 2 & 3, as cache management is based on LRU strategy and is related to cache usage but not based on dirty contents or updates content.

            Assignee:
            Alana Huang
            Reporter:
            Vamsi Boyapati
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: