• Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Stop LRUKeyValue::_verifyBudget() from invoking the store-wide InsertionEvictionListener::onClear() when repairing a single partition's budget. The repair path (empty list but positive budget) currently calls LRUBudgetTracker::onClear(), which notifies the listener — so QueryStatsStoreInsertionEvictionListener::onClear() decrements the global byte metric and zeroes the global entry-count metric even though only one partition is being repaired.

      Fix by resetting that partition's budget silently (a resetCurrentBudget()-style helper on LRUBudgetTracker) so the repair no longer touches store-wide metrics. No other behavior change.

      Split out of SERVER-125570.

            Assignee:
            Unassigned
            Reporter:
            Adithi Raghavan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: