RateLimiter should return tokens to bucket upon rejection

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0, 8.1.2, 8.0.12
    • Affects Version/s: None
    • Component/s: None
    • None
    • Workload Scheduling
    • Fully Compatible
    • ALL
    • v8.1, v8.0, v7.0
    • N&O 2025-06-23
    • 200
    • None
    • 3
    • TBD
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Right now, the RateLimiter won't return the "borrowed" tokens back to the bucket if it ultimately rejects the connection due to exceeding the maxQueueDepth, which will result in overly-pessimistic rejection once we've hit the max queue depth. We should modify the rate limiter to ensure that only tokens that will be used are taken/kept out of the bucket.

            Assignee:
            Erin McNulty
            Reporter:
            Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: