-
Notifications
You must be signed in to change notification settings - Fork 1.2k
feat: Support new 2026 retries #3379
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
richardwang1124
wants to merge
16
commits into
version-3
Choose a base branch
from
feature/new-retries
base: version-3
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
16 commits
Select commit
Hold shift + click to select a range
8d1db59
Initial retry changes
richardwang1124 0d8d988
Update and add retry tests
richardwang1124 e869d9d
Update more tests
richardwang1124 e834f9d
Add 2026 retries gate
richardwang1124 9e49095
Add changelog and bump min core
richardwang1124 901300e
Merge branch 'version-3' into feature/new-retries
richardwang1124 17ca319
Fix changelog
richardwang1124 3f9005a
Fix default and tighten retry header value check
richardwang1124 09bb847
Update retry mode docstring
richardwang1124 87fcd9e
Revert min core to test SDK build
richardwang1124 51f180f
PR feedback
richardwang1124 1f58e9b
Use 1-based attempts
richardwang1124 8ceaa1f
Merge branch 'version-3' into feature/new-retries
richardwang1124 b90663c
Make JSON parse errors retryable and relax S3 error pattern
richardwang1124 aeb7e0c
PR feedback
richardwang1124 88d17f6
Revert parse error changes and add DynamboDB services changelog
richardwang1124 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
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.
Nice, have we considered having a similar changelog entries for DynamoDB since they have specific retryable behavior or is that not needed?
Now that I think about it - are service-specific behaviors documented anywhere?
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 also have a question on the users who ARE already on
standardmode for theirretry_mode- do they feel any changes from this update?Uh oh!
There was an error while loading. Please reload this page.
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.
Can I add a DynamoDB changelog entry even though only core was updated? We could extend the core changelog entry to mention that DynamoDB defaults are changed if new retry behavior is enabled. I don't believe any service specific behaviors are documented anywhere yet. Externally I think the blogpost should mention this new DynamoDB behavior, internally I could add more comments or documentation?
Customers who are already on standard and opt in to new retries will feel a difference. Due to the updated backoff timing, retries will be much faster. Throttling behavior will be the same, and due to the updated retry quota draining, customers will fail faster during sustained service errors, but this is intentional to help services recover faster.
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 personally feel that blogpost is not enough for documentation. Not everyone will read blogpost releases nor
aws-sdk-core's CHANGELOG entries.Rethinking this...
This might be a good use case where we should have service-specific plugins. With plugins, you can be specific about this behavior + documentation. Now that I think about this - we might need to do something about the autogenerated config. See:
Above is what I see when I run codegen. Let's talk offline.
We should probably add a separate entry about this. The way I read the above entry is like: "Ok so if I don't use that env var, i'm still on old
standardretries mechanism"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.
Sure I can try adding a DynamoDB plugin instead for retries.
Your original understanding is correct, customers who are already on standard and opt in to new retries will feel a difference. If they do not set the environment variable, there will not be any differences. New retry behavior is disabled by default and opt in only.