cshuo commented on PR #12857:
URL: https://github.com/apache/hudi/pull/12857#issuecomment-2699889883

   > Hi @cshuo ,
   > 
   > S3 supports conditional write which is the feature we want to use for lock 
provider, so the last writer won't overwrite existing files. According to the 
documentation, we will need to use `PutObject` or `CompleteMultipartUpload` API 
to do that.
   > 
   > * 
https://aws.amazon.com/about-aws/whats-new/2024/08/amazon-s3-conditional-writes/
   > 
   > The S3A documentation seems slightly outdated also, I have not got the 
chance to dive into the S3A implementation changes, but it seems going with S3 
SDK is the clearest path if we want to have a S3 based lock provider.
   
   @CTTY thanks for the context, actually I just learned that there is already 
a FS lock provider implementation based on s3 conditional write inside 
OneHouse, and it's likely to be upstreamed in 1.0.2. I'll cc you then if the PR 
is out.


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