You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@seatunnel.apache.org by "corgy-w (via GitHub)" <gi...@apache.org> on 2026/04/08 13:00:03 UTC

[PR] [Fix][Zeta] prevent cancel stuck and downgrade tmp cleanup failure [seatunnel]

corgy-w opened a new pull request, #10729:
URL: https://github.com/apache/seatunnel/pull/10729

   ## What changed
   - make file sink transaction directory cleanup best-effort after data files have already been renamed into place
   - mark tasks as `CANCELED` locally when a cancel request cannot receive a terminal callback because the execution member becomes unavailable
   
   ## Why
   The current `dev` branch still has two edge cases:
   1. `FileSinkAggregatedCommitter` treats tmp directory cleanup failure as commit failure even after data files are successfully committed.
   2. `PhysicalVertex` can stay in `CANCELING` when the execution member disappears before sending back a terminal callback.
   
   ## Impact
   - avoid failing a checkpoint on post-commit tmp cleanup errors
   - prevent Zeta task cancellation from getting stuck when the target worker is gone
   
   ## Validation
   - `./mvnw spotless:apply`
   - started `./mvnw -q -DskipTests verify`, then stopped it due to long runtime and proceeded with a draft PR as requested so CI can validate online
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][Zeta] prevent cancel stuck and downgrade tmp cleanup failure [seatunnel]

Posted by "DanielLeens (via GitHub)" <gi...@apache.org>.
DanielLeens commented on PR #10729:
URL: https://github.com/apache/seatunnel/pull/10729#issuecomment-4278517165

   Hi @corgy-w, I rechecked the current head locally as `seatunnel-review-10729`. The PR head is unchanged since my previous Daniel review; the only new activity is later review approval.
   
   The same runtime areas are affected:
   ```text
   cancel path
     -> PhysicalVertex.cancel()
         -> state transition toward CANCELING/CANCELED
   
   file tmp cleanup path
     -> FileSinkAggregatedCommitter.abort/commit cleanup
         -> tmp cleanup failure is downgraded/logged instead of blocking state convergence
   ```
   
   Because there is no code or test change after my previous `CHANGES_REQUESTED` review, my earlier request still stands. The latest CI is green, which is good, but the review concern was about targeted regression coverage for the cancel-state and tmp-cleanup behavior.
   
   ### Conclusion: can merge after fixes
   
   Blocking item:
   1. Please add focused regression coverage for the state transition / cleanup failure paths changed by this PR.
   
   Once that coverage is in place, this should be much easier to merge confidently.
   


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Fix][Zeta] prevent cancel stuck and downgrade tmp cleanup failure [seatunnel]

Posted by "dybyte (via GitHub)" <gi...@apache.org>.
dybyte merged PR #10729:
URL: https://github.com/apache/seatunnel/pull/10729


-- 
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: commits-unsubscribe@seatunnel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org