Tracking Issues with Conditional Requests
OpenDAL supports conditional requests at the API level, although not all supported services have implemented them. This issue is used to track their implementation.
Steps
Implement if_none_match for write like this https://github.com/apache/opendal/pull/5129
https://github.com/apache/opendal/blob/b92cfc41ba0a93acc5ff519b48af262bd91585d9/core/src/services/s3/core.rs#L335-L337
Services
- [ ] s3 (
If-None-Matchin multipart upload) - [ ] azblob
- [ ] azdls
- [ ] cos (seems not supported, we need to check and try)
- [ ] gcs
- [ ] obs (seems not supported, we need to check and try)
- [ ] oss (seems not supported, we need to check and try)
Hello @ForestLH, thank you for adding support for S3's conditional write. However, the previous PR only covered simple writes. Would you be interested in extending this to multipart uploads as well?
Hello @ForestLH, thank you for adding support for S3's conditional write. However, the previous PR only covered simple writes. Would you be interested in extending this to multipart uploads as well?
Sure, my pleasure. But I don't have an account for one of these cloud services(like cos, azblob, azdls...), and I want to know some easier methods than sign up for them to test my code. Thanks.
For Azblob, you can use https://github.com/Azure/Azurite. We have a fixture available at: https://github.com/apache/opendal/blob/main/fixtures/azblob/docker-compose-azurite.yml.
For other services, we have only configured continuous integration so far. You can submit PR and I can help trigger the CI for you.
For Azblob, you can use https://github.com/Azure/Azurite. We have a fixture available at: https://github.com/apache/opendal/blob/main/fixtures/azblob/docker-compose-azurite.yml.
For other services, we have only configured continuous integration so far. You can submit PR and I can help trigger the CI for you.
Thanks for your help. plz assign me, I will try it.
Thank you @ForestLH!
I'm sorry for not reporting the progress for so long, because I have a lot of things to do recently. I'm so sorry to tell you that I may not have time to do this issue lately, but I found out that @kemingy is doing this.
@Xuanwo
I'm sorry for not reporting the progress for so long, because I have a lot of things to do recently.
Thank you for watching this. I look forward to working with you in the future.