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
    • Resolution: Fixed
    • Major
    • 3.0.1
    • 3.0.0
    • 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

          People

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