grantatspothero commented on code in PR #10523: URL: https://github.com/apache/iceberg/pull/10523#discussion_r1643557191
########## core/src/main/java/org/apache/iceberg/SnapshotProducer.java: ########## @@ -563,6 +565,14 @@ protected boolean canInheritSnapshotId() { return canInheritSnapshotId; } + /** + * Can skip cleaning up uncommitted manifests if there are no retries as retries can generate + * manifests that are not committed and orphaned + */ + private boolean canSkipCleanupAfterCommitSuccess() { + return commitMetrics().attempts().value() <= 1; Review Comment: No reason, will change -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org