Aireed opened a new issue, #4461: URL: https://github.com/apache/amoro/issues/4461
### What happened? 1. Flink job was stopped with a savepoint. However, some IcebergStreamWriter had already written files and handed them off to the IcebergFileCommitter operator, but no snapshot had been generated/committed yet. 2. After a preiod time ,the orphan file cleanup then treated these files as orphan files and removed them. 3. Later, when the Flink job was recovered from the savepoint, IcebergFileCommitter::initializeState first committed this unfinished commit and generated a snapshot — thereby committing the (already-deleted) files into that snapshot. ### Affects Versions master ### What table formats are you seeing the problem on? Iceberg ### What engines are you seeing the problem on? AMS ### How to reproduce _No response_ ### Relevant log output ```shell ``` ### Anything else _No response_ ### Are you willing to submit a PR? - [x] Yes I am willing to submit a PR! ### Code of Conduct - [x] I agree to follow this project's Code of Conduct -- 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]
