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

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.

Environment

None

Gerrit Reviews

None

Release Notes Description

None

Activity

Show:

CB robot September 15, 2020 at 11:05 AM

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

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Fix versions

Story Points

Reporter

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created April 2, 2020 at 4:02 PM
Updated September 15, 2020 at 11:05 AM
Resolved April 6, 2020 at 3:02 PM
Instabug