dragonknightk commented on PR #11181: URL: https://github.com/apache/paimon/pull/11181#issuecomment-6981799466
@JingsongLi Thanks for the detailed repro, both cases were spot on. I went with your first suggestion: the end-input maintenance is now submitted to the same single-thread executor and the commit waits for it, so it runs after any earlier maintenance and finishes before `close()`. Checkpoint commits stay async, and the order of maintenance passes is unchanged. I added two tests based on your scenarios, `testEndInputMaintenanceKeepsDataFilesOfRetainedTag` and `testEndInputMaintenanceCreatesEveryAutomaticTag`. Both fail when the end-input maintenance runs on the committing thread. The PR description is updated to match. PTAL ٩(ˊᗜˋ*)و -- 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]
