Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1208

Add a fail-fast retry strategy, and document them.

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0
    • 3.0.1
    • None
    • None
    • 1

    Description

      Since we currently only have a global retry strategy (per lcb_INSTANCE), some clients (say the python or node client) may want to switch it off – and never retry.  Or maybe other things as well.  But for sure a fail-fast that just doesn't retry is something that may be wanted.  Though probably this is more useful later when we will be able to specify a retry strategy for a request, lets add the fail-fast (never retry), so clients can at least switch the best_effort strategy on/off.

       

      While at it we can add a bit of documentation for `lcb_retry_strategy` as well.

      Attachments

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

        Activity

          Build couchbase-server-7.0.0-3115 contains libcouchbase commit 2677825 with commit message:
          CCBC-1208 - Add a fail-fast retry strategy

          build-team Couchbase Build Team added a comment - Build couchbase-server-7.0.0-3115 contains libcouchbase commit 2677825 with commit message: CCBC-1208 - Add a fail-fast retry strategy

          People

            avsej Sergey Avseyev
            david.kelly David Kelly
            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