Closed zmb3 closed 1 month ago
Does aws-sdk-go-v2 suffer from the same problem?
Good thought, @rosstimothy.
No, it looks like aws-sdk-go-v2
does implement retries and throttling for this case: https://github.com/aws/aws-sdk-go-v2/blob/49b368e9d7a38a2373c833be135270e5390c2b41/aws/retry/standard.go#L72
V1 for reference: https://github.com/aws/aws-sdk-go/blob/53e4759915361d72a33be783d5e878a63d85f807/aws/request/retryer.go#L84-L96
Closed by #44728
We have observed 503 errors in the auth uploader's
CompleteMultipartUpload
calls.As per https://repost.aws/knowledge-center/http-5xx-errors-s3:
This same post says that:
However, it looks like there's a long-standing issue in aws-sdk-go where the SDK does not throttle S3 requests properly: https://github.com/aws/aws-sdk-go/issues/3977
Edit: aws-sdk-go-v2 correctly implements throttled retries in this case. We should use it here.