SEPURI-SAI-KRISHNA commented on PR #13343:
URL: https://github.com/apache/seatunnel/pull/13343#issuecomment-7072475608

   Thanks for the review. Pushed e228b4bf5d:
   
   1. Issue 1: the failing task is closed before `taskDone`, in a `try/catch 
(Throwable)`; a close failure is logged and added as suppressed. 
`SeaTunnelTask.close()` now skips a null `allCycles` (with a test).
   2. Issue 2: the catch is `Throwable`, so an `Error` also ends the group 
FAILED; the test throws `NoClassDefFoundError`.
   3. Issues 2 and 3: new 
`testThreadShareTaskCancelledDuringInitCompletesTheGroup` cancels while task 0 
is in `init()`: CANCELED, no later init, context removed. The redeployed group 
is awaited after its cancel.
   4. Issues 4 and 5: the catch logs the stack trace, the skip branch logs one 
line, and the Javadoc is scoped to thread-share tasks. The shared `taskDone` 
log is unchanged.
   5. Issue 6: the task before the failing one runs until the failure and is 
not called after the group ends.
   
   On bb855dd9fe the Exception cases fail on the close count and the Error case 
with `NoClassDefFoundError` from `deployLocalTask`. With the fix, JDK 17: 
`TaskExecutionServiceTest` 24/24, `SeaTunnelTaskStateTest` 26/26. Stable over 3 
reruns.
   


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