Skip to content

Retry on InternalError error codes. #2963

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

Merged
merged 1 commit into from
Jan 12, 2022
Merged

Retry on InternalError error codes. #2963

merged 1 commit into from
Jan 12, 2022

Conversation

millems
Copy link
Contributor

@millems millems commented Jan 12, 2022

This fixes an issue where 200s followed by a failure were not retried for S3.

This fixes an issue where 200s followed by a failure were not retried for S3.
@millems millems requested a review from a team as a code owner January 12, 2022 22:44
@@ -64,6 +64,7 @@
retryableErrorCodes.add("PriorRequestNotComplete");
retryableErrorCodes.add("RequestTimeout");
retryableErrorCodes.add("RequestTimeoutException");
retryableErrorCodes.add("InternalError");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Looks like we used to specify initial capacity size here, but that is probably an over-optimization.

@millems millems enabled auto-merge (squash) January 12, 2022 23:08
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

@millems millems merged commit 6b4dace into master Jan 12, 2022
@millems millems deleted the millem/s3-200-retry branch October 19, 2022 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants