Details
-
Task
-
Resolution: Unresolved
-
Minor
-
None
-
7.1.0
-
None
-
1
Description
Description
The retry-with-exp-backoff should be moved inside the function that makes the rest-call as opposed to surrounding every occurrence of that function call.
This is because semantically we are retrying on the http status code as opposed to retrying on the function itself raising an exception. As a side effect it also removes a lot of repetition calling the function as we no longer have to surround each occurrence of the function call with a retry.
Attachments
Gerrit Reviews
For Gerrit Dashboard: MB-47950 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
159381,6 | MB-47950: Move retry inside failover function | master | jepsen.couchbase | Status: MERGED | +2 | +1 |