Track cache metrics that are stuck in __wti_evict_app_assist_worker

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Server Integration
    • SESI - 2025-06-24
    • None

      When we are in __wti_evict_app_assist_worker, we do not report cache metrics while it is stuck for x amount of time, and we report the total once this exits. The problem is, if we are not updating while it is stuck, our metrics are unable to tell we are in a cache stuck state to alleviate the cache pressure (cache pressure thread in server) and we won't be able to alert our thread until after it exits.

      We want to update the metrics within the while loop where it can get stuck. 

      We will need to see if this change has any performance regressions, otherwise it would be very helpful to have. 

            Assignee:
            Ruby Chen
            Reporter:
            Ruby Chen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: