Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-3176

ExponentialBackoff only ever increases globally

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 3.2.9
    • 3.2.8
    • None
    • None

    Description

      ExponentialBackoff has an internal _power field that doubles each time CalculateBackoff is called.  However, the ExponentialBackoff instance is created once and re-used by RetryOrchestrator.

       

      This means that the backoff due to retries will increase exponentially each retry until it hits the max and stay there for all requests.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              richard.ponton Richard Ponton
              richard.ponton Richard Ponton
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty