wolfv commented on code in PR #6742:
URL: https://github.com/apache/opendal/pull/6742#discussion_r2466774413


##########
core/src/services/s3/error.rs:
##########
@@ -43,6 +43,9 @@ pub(super) fn parse_error(resp: Response<Buffer>) -> Error {
         403 => (ErrorKind::PermissionDenied, false),
         404 => (ErrorKind::NotFound, false),
         304 | 412 => (ErrorKind::ConditionNotMatch, false),
+        // 409 Conflict can be returned e.g. when PutObject with conditions.
+        // In this case the AWS docs say to retry.
+        409 => (ErrorKind::Conflict, true),

Review Comment:
   Done, sorry! 



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

Reply via email to