-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
fix(artifacts): only retry on transient S3 errors #5579
fix(artifacts): only retry on transient S3 errors #5579
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5579 +/- ##
==========================================
+ Coverage 47.08% 47.12% +0.03%
==========================================
Files 240 242 +2
Lines 15050 15137 +87
==========================================
+ Hits 7087 7133 +46
- Misses 7059 7098 +39
- Partials 904 906 +2
Continue to review full report at Codecov.
|
51c9175
to
0c5cd16
Compare
Will rebase after #5601 |
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
0c5cd16
to
721e0f8
Compare
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
b638d66
to
35cc086
Compare
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
f5c55fc
to
fdc209a
Compare
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 request one final small change. Once you've done that - dismiss this review so I get notified.
Signed-off-by: Peixuan Ding <dingpeixuan911@gmail.com>
5b9917f
to
513a4b5
Compare
Closes #5220
Hi,
This PR fixes the issue of executor retrying non-transient S3 errors.
I took the list of retryable errors from the minio-go repo.
As of today, this package doesn't have any unit tests. As the logic is getting more complex it's kind of risky to have no tests. I'll see if I can add some. (Might need some minor refactoring)
Thanks!