SEPURI-SAI-KRISHNA commented on issue #13477:
URL: https://github.com/apache/seatunnel/issues/13477#issuecomment-7197370901

   I would like to work on this. Proposed fix, local to Zeta:
   
   1. `SinkRegisterOperation`: when the committer task group is not active but 
this node has a finished context for it, the committer has ended, so fail the 
registration at once instead of retrying for a minute. Keep retrying while it 
is not deployed yet. This is the change measured above (0 of 7 runs stuck).
   2. `SinkFlowLifeCycle.registerCommitter()`: wait with the interruptible 
`get()` instead of `join()`.
   
   Test: a `seatunnel-engine-server` test that cancels the job while the sink 
is registering with an ended committer and expects CANCELED within a few 
seconds, plus the existing `cancelJobTest`.
   
   One point to confirm: a restored committer keeps its `TaskGroupLocation`. 
`SubPlan.prepareRestorePipeline` cleans the old contexts before deploying again 
(`clearPipelineMetricsForRestore`), so a restored sink keeps retrying until the 
new committer is active. That clean is best effort; if it fails, the restore 
fails early instead of waiting. @nzw921rx does this direction look right to you?
   


-- 
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]

Reply via email to