yuzelin opened a new issue, #1571:
URL: https://github.com/apache/incubator-paimon/issues/1571

   ### Search before asking
   
   - [X] I searched in the 
[issues](https://github.com/apache/incubator-paimon/issues) and found nothing 
similar.
   
   
   ### Motivation
   
   Currently, the `FileStoreExpireImpl` delete file quietly, which means if 
there occurs error, the process won't throw exceptions. It's possible that some 
files won't be deleted when snapshot expiring, so I propose to introduce an 
action to clean files unused by current snapshots. 
   
   ### Solution
   
   Scan all files and filter out that still used by at least one snapshot, then 
delete those not used by any snapshot.
   
   ### Anything else?
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


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

Reply via email to