Cleanup newly created compacted files when rewrite data files failed due to commit conflict
Feature Request / Improvement
We noticed explosion of orphan files since rewrite data files(aka compaction) was constantly failing to commit due to another process that were removing data from the table and was much faster than rewrite data files job.
While we are going to solve this conflict between 2 processes, IMO it would be nice from rewrite-data files job side not to leave all those orphan files to garbage storage layer of the table. IMO rewrite data files has complete context of what new files it created and thus it can remove those files
Query engine
Spark
Willingness to contribute
- [ ] I can contribute this improvement/feature independently
- [x] I would be willing to contribute this improvement/feature with guidance from the Iceberg community
- [ ] I cannot contribute this improvement/feature at this time
This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.
This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'