zachjsh commented on PR #14776:
URL: https://github.com/apache/druid/pull/14776#issuecomment-1671911120

   > I'm not sure there is any value in filtering the list to delete; if a file 
has already been deleted and a delete is again issued, S3 will just ignore the 
request. ie: there's no harm in asking for a file to be deleted twice. Unless 
we are sure that _all_ errors are not retryable, it should suffice to send a 
retry.
   
   I agree with this. It seems AWS sdk library has some complex logic for how 
to determine whether an error is retryable based on error code which I'm not 
sure is worth replicating (aws library doesnt expose these methods that 
determine whether errorCode is retryable, only exception). My thought is to 
just retry up to 3 times regardless of failure. What do you think?


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