Mithilbatra commented on PR #13363:
URL: https://github.com/apache/seatunnel/pull/13363#issuecomment-7255796516

   Thanks @DanielLeens. I went through the engine-v2-it (JDK 11) log for job 
138442318415, and the cancel was held up by sink committer registration, not by 
slot handling.
   
   - Cancel reached job `1177605048302043137` about 90 ms after it turned 
RUNNING. Pipeline 2 and both committers were CANCELED within about 10 ms, and 
their slots were released normally. `reset()` was never called, and there is no 
"Skip resetting slot service" line anywhere in the log.
   - In pipeline 1, the sink writer in task group 3 was still in 
`SinkFlowLifeCycle.open()`, waiting with `join()` on `SinkRegisterOperation`. 
That operation retries `getTask(committerTaskID)` 30 times, 2 s apart, and the 
committer task group had already ended. `SlowOperationDetector` reports 
`SinkRegisterOperation` sleeping in `RetryUtils` at 13:42:13. The task was 
interrupted only when the node shut down at 13:42:23, after the test's 20 s 
wait had run out.
   - That path never touches `SlotService`, and this PR changes only 
`DefaultSlotService`, `SlotService` and `FixSlotResourceTest`.
   
   This is #13477, which cites this run. It was reproduced on `dev` without 
this change (stuck in 2 of 5 runs), and #13460 hit the same failure. The fix is 
in #13495. I'd prefer not to fold that fix into this PR. Could the failed 
engine-v2-it lane be rerun once?
   


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