JingsongLi commented on PR #8631: URL: https://github.com/apache/paimon/pull/8631#issuecomment-5083337822
`dvMaintainer.persist()` has already written a new DV file during the rewrite phase, but Flink/Spark’s failure cleanup only calls `abort` on the original `writtenMessages`; the new DV exists only in the rewritten compact messages and will not be cleaned up. During a delete-only compact, `writtenMessages` is even empty, and cleanup returns immediately. Retry attempts following conflicts or commit failures will continue to generate orphaned index files. -- 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]
