You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/09/24 16:53:52 UTC

[GitHub] [incubator-iceberg] rdblue commented on issue #493: Concurrently delete a data file

rdblue commented on issue #493: Concurrently delete a data file
URL: https://github.com/apache/incubator-iceberg/issues/493#issuecomment-534648500
 
 
   This doesn't fail because deletes are idempotent. You tell Iceberg to delete with a filter or to delete a specific file, and that data will not be in the table after the delete commits.
   
   That's also why you see multiple delete operations. You ran 2 successful deletes on the table.
   
   The two metadata files you posted are two attempts to delete at the same time. That's why they use the same parent snapshot ID. The metastore must guarantee an atomic swap that is used to get a linear history of changes. So only one of these deletes will have been successfully committed. The other would have had to retry.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org