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


##########
extensions-core/s3-extensions/src/main/java/org/apache/druid/storage/s3/S3DataSegmentKiller.java:
##########
@@ -150,7 +151,14 @@ private boolean deleteKeysForBucket(
             s3Bucket,
             keysToDeleteStrings
         );
-        s3Client.deleteObjects(deleteObjectsRequest);
+        RetryUtils.retry(
+            () -> {
+              s3Client.deleteObjects(deleteObjectsRequest);
+              return null;
+            },
+            exception -> (exception instanceof MultiObjectDeleteException) || 
S3Utils.S3RETRY.apply(exception),

Review Comment:
   done



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