uds5501 commented on code in PR #18720:
URL: https://github.com/apache/druid/pull/18720#discussion_r2497979749


##########
extensions-core/s3-extensions/src/main/java/org/apache/druid/storage/s3/S3Utils.java:
##########
@@ -96,6 +96,10 @@ public boolean apply(Throwable e)
         // This can happen sometimes when AWS isn't able to obtain the 
credentials for some service:
         // https://github.com/aws/aws-sdk-java/issues/2285
         return true;
+      } else if (e instanceof AmazonS3Exception && 
e.getMessage().contains("InternalError")) {
+        // This can happen sometimes when AWS returns a 200 response with 
internal error message
+        // https://repost.aws/knowledge-center/s3-resolve-200-internalerror

Review Comment:
   Will add both



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to