MaxLinyun opened a new pull request, #8228:
URL: https://github.com/apache/paimon/pull/8228

   Paimon's existing OSSFileIO inherits from HadoopCompliantFileIO, with file 
operations implemented underneath via Hadoop's AliyunOSSFileSystem. In object 
storage scenarios, the default implementation of tryToWriteAtomic follows the 
pattern of 'writing a temporary file followed by renaming'. However, renaming 
on OSS is essentially a copy-then-delete process and not an atomic operation.
   
   Rewrite the implementation of tryToWriteAtomic, and directly call the 
conditional write API (put-if-absent) of the OSS SDK, so as to implement the 
atomic 'write if not exists' semantics without relying on external locks.
   
   ### Purpose
   
   ### Tests
   


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