Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-1485

couchbase2: custom BestEffortRetryStrategy's exponential backoff cap is not respected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.6.0
    • None
    • None
    • None
    • 1

    Description

      Suggested Release Note:

      When using the `couchbase2` protocol with a custom `BestEffortRetryStrategy`, the cap on the exponential backoff was not respected, which could lead to undesirably long retry delays. 

       

      `Backoff.java` only caps the timeout if a the retry context has a "previous delay time". For protostellar, the retry context never has this, since we create a new request wrapper for every retry attempt.

      The fix is to update `Backoff.java` with the latest version from reactor-addons.

      Attachments

        Issue Links

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

          Activity

            People

              david.nault David Nault
              david.nault David Nault
              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