HeartSaVioR edited a comment on pull request #1559:
URL: https://github.com/apache/iceberg/pull/1559#issuecomment-704792040


   If I understand correctly, these operations should be applied regardless of 
existing version file - consider the case when two concurrent writers both see 
there's no existing version file and try to write to the path directly.
   
   That said, delete -> rename can be (should be?) replaced with rename with 
overwrite = true. If I'm not missing anything, this ensures last one wins 
(there's no way to ensure atomicity via atomic rename when the file may exist, 
so that's a best effort) and partial file is not exposed.


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

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to