Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-47950

[Refactor] Move retry-with-exp-backoff inside function that makes http request

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 7.1.0
    • None
    • Jepsen
    • 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

        For Gerrit Dashboard: MB-47950
        # Subject Branch Project Status CR V

        Activity

          There are no comments yet on this issue.

          People

            Unassigned Unassigned
            asad.zaidi Asad Zaidi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty