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

        For Gerrit Dashboard: CCBC-1208
        # Subject Branch Project Status CR V

        Activity

          There are no commits yet on this issue.

          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