-
Notifications
You must be signed in to change notification settings - Fork 533
[Internal] DTS: Adds retries in DTS when isRetriable is true and on timeout #5689
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
Open
Meghana-Palaparthi
wants to merge
25
commits into
main
Choose a base branch
from
users/Meghana-Palaparthi/DTS_timeout_handling
base: main
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.
Open
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
ae0aa5b
Adds retries in DTS when isRetriable is true and on timeout
Meghana-Palaparthi 2eb6832
Adds tests on DTS retries
Meghana-Palaparthi 3d69ceb
Remove server diagnostics from response deserialization
Meghana-Palaparthi bc5e52c
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi d547817
Change to unbounded retries
Meghana-Palaparthi 409b3e6
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi a84a6a8
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi 414afb4
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi ec997d1
address feedback on PR
Meghana-Palaparthi 72c47cf
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi 9f27546
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi ac7a3f6
Add retries of different scenarios
Meghana-Palaparthi b05917c
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi db03eb7
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi ac1e50c
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi 0d67585
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi 390b7d2
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi be2adfc
Refactor DTX retry policy into ClientRetryPolicy
Meghana-Palaparthi 4605fec
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi 27448e4
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi b9afa85
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi f1aba1a
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi 98677f9
Merge branch 'master' into users/Meghana-Palaparthi/DTS_timeout_handling
Meghana-Palaparthi a971dfc
Update ClientRetryPolicyTests.cs
Meghana-Palaparthi 713f673
Merge branch 'main' into users/Meghana-Palaparthi/DTS_timeout_handling
NaluTripician File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am curious, if this retries 100 times, and inside ClientRetryPolicy we retry 100 times, wouldn't it be like 100k retries for a single request?
To avoid this confusion, maybe we can combine these two retry mechanisms into a single layer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I think worst this is 10k retries on a single request (before throttling) . If we want to combine maybe a passing response header to the client retry policy could work? If we wanted to keep the 2 retry layers and not have a new header we can probably just limit it to 3-5 retries here to be safe.