RateLimiter::updateRateParameters silently drops existing queue

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Workload Resilience
    • ALL
    • WR Prioritized list
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      RateLimiter::updateRateParameters recomputs the bucket from available(), which clamps negative balances to zero. This means any outstanding borrowed debt from queued waiters is silently forgiven on every rate/burst parameter update, and new arrivals are admitted against capacity that sleeping waiters have already reserved.

            Assignee:
            Unassigned
            Reporter:
            Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: