RussellSpitzer opened a new pull request #2328:
URL: https://github.com/apache/iceberg/pull/2328


   #2317 - We discovered that Iceberg is currently treating all failures during 
commit
   as full commit failures. This can lead to an unstable/corrupt table if the
   catalog was successfully updated and it was only a network or other error
   that prevented the client from learning of this. In this state, the client
   will attempt to clean up files related to the commit while other clients and 
the table believe that files are successfully added to the table.
   
   To fix this we change snapshot producer to only do a cleanup when a true 
CommitFailureException is thrown and stop our HMSTableOperations from removing 
metadata.json files when an uncertain exception is thrown.


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