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

RetryHandler does not apply backoff when a request is not AlwaysRetry.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • 3.4.0
    • 3.0.0, 3.3.6, 3.4.0
    • None
    • None
    • 1
    • SDK45

    Description

      RetryHandler is not calculating a backoff when retrying certain failures such as KvTemporaryFailure.  This means these can spam out retries, exacerbating the issue.

       

      In the path for request.AlwaysRetry(), backoff is applied.  However, in the other path, the request's duration is used as the backoff rather than exponential/controlled backoff.  For immediate failures, this leads to an immediate retry, making the situation worse.

      Attachments

        For Gerrit Dashboard: NCBC-3286
        # Subject Branch Project Status CR V

        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:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty