Repository navigation
[Fix][Zeta] prevent cancel stuck and downgrade tmp cleanup failure - #10729
Conversation
DanielLeens
left a comment
There was a problem hiding this comment.
I pulled this PR locally and I like the direction, but I do not think it is merge-ready without focused regression coverage for the two runtime paths being changed.
-
PhysicalVertex.noticeTaskExecutionServiceCancel()now locally marks the task asCANCELEDwhen the current member disappears during cancel. That is a task-state-machine change in the cancel/failover path, and it needs a targeted regression test that reproduces the original "cancel stuck" case and proves we do not regress task completion semantics. -
FileSinkAggregatedCommitter.commit()now swallows transaction-directory cleanup failures after successful rename and still treats the checkpoint commit as successful. That may be the right behavior, but it also changes the commit contract and should have a small committer regression test so future refactors do not silently reintroduce the downgrade tmp-cleanup failure.
Because both changes touch terminal/commit behavior and neither path is covered in this PR, I am still at request-changes for now.
b066d31 to
6d38d36
Compare
DanielLeens
left a comment
There was a problem hiding this comment.
Thanks for the update. I pulled the latest branch locally and the two runtime adjustments still need focused regression coverage before I’m comfortable with the change.
The PR changes checkpoint commit semantics in FileSinkAggregatedCommitter and cancel-state fallback in PhysicalVertex, but it still does not add tests that prove those exact paths: one where tmp cleanup fails after a successful rename, and one where a canceling task loses its member before the terminal callback arrives. Without those cases, we still don't have evidence that the new behavior is correct or that it won't mask other failure modes.
Please add targeted regression tests for both runtime paths.
6d38d36 to
4717b32
Compare
|
Hi @corgy-w, I rechecked the current head locally as The same runtime areas are affected: Because there is no code or test change after my previous Conclusion: can merge after fixesBlocking item:
Once that coverage is in place, this should be much easier to merge confidently. |
What changed
CANCELEDlocally when a cancel request cannot receive a terminal callback because the execution member becomes unavailableWhy
The current
devbranch still has two edge cases:FileSinkAggregatedCommittertreats tmp directory cleanup failure as commit failure even after data files are successfully committed.PhysicalVertexcan stay inCANCELINGwhen the execution member disappears before sending back a terminal callback.Impact
Validation
./mvnw spotless:apply./mvnw -q -DskipTests verify, then stopped it due to long runtime and proceeded with a draft PR as requested so CI can validate online