ajantha-bhat opened a new pull request, #4747:
URL: https://github.com/apache/iceberg/pull/4747

   There is astronomically low probability of allocating same snapshot id. 
   But as we are converting 128 bit UUID to 64 bit uuid, snapshot id is not as 
unique as UUID.
   
   If the duplicate snapshot ids are allocated, Iceberg doesn't handle it and 
it leads to the data loss.
   
   TODO: This PR only reproduces issue. Yet to fix.
   I am not sure whether to throw exception during commit or do metadata retry 
with new snapshot id.


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


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

Reply via email to