-
Notifications
You must be signed in to change notification settings - Fork 1.1k
PYTHON-5528 & PYTHON-5651 Add exponential backoff to operation retry loop for server overloaded errors #2635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
blink1073
wants to merge
22
commits into
mongodb:backpressure
Choose a base branch
from
blink1073:PYTHON-5528-backpressure
base: backpressure
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
PYTHON-5528 & PYTHON-5651 Add exponential backoff to operation retry loop for server overloaded errors #2635
blink1073
wants to merge
22
commits into
mongodb:backpressure
from
blink1073:PYTHON-5528-backpressure
+8,433
−221
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…r overloaded errors (cherry picked from commit 95948d3def875f1efb4d912ab8f507f518604ef5)
(cherry picked from commit ebf65519f12d160da6d2088c22f6c69fad5a37d0)
3 tasks
(cherry picked from commit 3093a7c)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PYTHON-5528
PYTHON-5651
Summary
Adds unified and prose tests from mongodb/specifications#1862 and replaces the use of the
_retry_overloadwith the retry helper method calls to ensure that servers are properly deprioritized. They needed to be done together to verify that the unified tests still work.Changes in this PR
_retry_overloadwith the retry helper method calls to ensure that servers are properly deprioritizedTesting Plan
Added unified and prose tests, testing as part of PR.
Screenshots (optional)
N/A
Checklist
Checklist for Author
Checklist for Reviewer {@primary_reviewer}
Focus Areas for Reviewer (optional)