You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "dentiny (via GitHub)" <gi...@apache.org> on 2026/04/20 23:00:15 UTC

[I] BUG: if-not-match not supported in S3 [opendal]

dentiny opened a new issue, #7419:
URL: https://github.com/apache/opendal/issues/7419

   ### Describe the bug
   
   Hi team, S3 put object and complete multipart upload have if-none-match support.
   - https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html#API_PutObject_RequestSyntax
   - https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html#API_CompleteMultipartUpload_RequestSyntax
   
   But they're not supported in our S3 implementation https://github.com/apache/opendal/blob/main/core/services/s3/src/core.rs
   
   ### Steps to Reproduce
   
   N/A
   
   ### Expected Behavior
   
   All S3 request fields should be supported.
   
   ### Additional Context
   
   _No response_
   
   ### Are you willing to submit a PR to fix this bug?
   
   - [x] Yes, I would like to submit a PR.


-- 
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: commits-unsubscribe@opendal.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] BUG: if-not-match not supported in S3 [opendal]

Posted by "Xuanwo (via GitHub)" <gi...@apache.org>.
Xuanwo commented on issue #7419:
URL: https://github.com/apache/opendal/issues/7419#issuecomment-4289850666

   AWS's `if-none-match` only accepts `*` which is `if-not-exist` at the opendal side.


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] BUG: if-not-match not supported in S3 [opendal]

Posted by "dentiny (via GitHub)" <gi...@apache.org>.
dentiny commented on issue #7419:
URL: https://github.com/apache/opendal/issues/7419#issuecomment-4333934557

   It's my bad -- our internal S3 uses ETAG for conditional write, while S3 "Expects the * character (asterisk)."
   Reference: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] BUG: if-not-match not supported in S3 [opendal]

Posted by "dentiny (via GitHub)" <gi...@apache.org>.
dentiny closed issue #7419: BUG: if-not-match not supported in S3
URL: https://github.com/apache/opendal/issues/7419


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org