Uploaded image for project: 'Couchbase Java Client'
  1. Couchbase Java Client
  2. JCBC-1489

FailFast retry strategy swallows typed exceptions

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • .future
    • 3.0.0-beta.1
    • None
    • 1

    Description

      When testing parallel sync writes I'm using a FailFastRetryStrategy. I expected to see a DurableWriteInProgressException but instead I see com.couchbase.client.core.error.RequestCanceledException: UpsertRequest {"retried":0,"reason":"NO_MORE_RETRIES (KV_SYNC_WRITE_IN_PROGRESS).... It's not entirely clear why this has failed and this behaviour means that many of the typed exceptions are no longer used. As I have effectively disabled retries I didn't expect to see a retry error.

      Attachments

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

        Activity

          People

            graham.pople Graham Pople
            charles.dixon Charles Dixon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty