zachjsh commented on code in PR #14776:
URL: https://github.com/apache/druid/pull/14776#discussion_r1289082323


##########
cloud/aws-common/src/main/java/org/apache/druid/common/aws/AWSClientUtil.java:
##########
@@ -54,6 +89,19 @@ public static boolean 
isClientExceptionRecoverable(AmazonClientException excepti
       return true;
     }
 
-    return RetryUtils.isClockSkewError(exception);
+    if (RetryUtils.isClockSkewError(exception)) {
+      return true;
+    }
+
+    if (exception instanceof MultiObjectDeleteException) {
+      MultiObjectDeleteException multiObjectDeleteException = 
(MultiObjectDeleteException) exception;
+      for (MultiObjectDeleteException.DeleteError error : 
multiObjectDeleteException.getErrors()) {
+        if (RECOVERABLE_ERROR_CODES.contains(error.getCode())) {

Review Comment:
   This may be the status code and not errorCode, if so weird that it is a 
string and not ant integer. Confirming



-- 
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