Exponential backoff and jitter in retry loops

XMLWordPrintableJSON

    • 5
    • Hide

      DRIVERS-3239:
      Summary of necessary driver changes

      Commits for syncing spec/prose tests
      (and/or refer to an existing language POC if needed)

      Context for other referenced/linked tickets

      •  
      Show
      DRIVERS-3239 : Summary of necessary driver changes Implement the new backpressure retry logic detailed in https://github.com/mongodb/specifications/blob/client-backpressure/source/client-backpressure/client-backpressure.md . Add opt-in token bucket support with the new adaptiveRetries URI and client option listed in https://github.com/mongodb/specifications/blob/client-backpressure/source/uri-options/uri-options.md . Token buckets are excluded from the first rollout phase of client backpressure support, see ba14b6b , copied below for convenience: WARNING: Client backpressure support will be rolled out in two separate phases. The first phase consists of backoff and jitter only, without token bucket adaptive retries. Implementing drivers MUST NOT implement token buckets in the initial release. If token bucket support has already been merged, it MUST NOT be able to be turned on by users. Commits for syncing spec/prose tests (and/or refer to an existing language POC if needed) https://github.com/mongodb/specifications/commit/1125200e4a6161d87cb5090860597eb8e8e90bf1 Context for other referenced/linked tickets  
    • Not Needed
    • None
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      This ticket was split from DRIVERS-3239, please see that ticket for a detailed description.

            Assignee:
            Sergey Zelenov
            Reporter:
            TPM Jira Automations Bot
            Pavel Safronov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: