SEZ9 commented on PR #12218: URL: https://github.com/apache/seatunnel/pull/12218#issuecomment-7175436529
@Rangsh thanks for the detailed update on `0b242a3271`. I'm going by your description here rather than a fresh read of the diff, and I'm leaving the two High items from review 6038243309 to that review. **Dropped-task accounting (Medium)** The concern was that tasks dropped by the rollback were never counted through `taskDone`, so the rolled-back tracker could never complete on its own. `registerExpectedBlockingTasks` plus `accountForTasksDroppedAfterRollback`, with `assertFailedGenerationAccounting` checking that the latch remaining is 0 and the done count equals the expected task count, is the direction I was asking for. I couldn't read the dropped-paths table in your update, so please confirm that each drop path reaches the accounting, and name the test that covers it: - removed from the cooperative queue - cancelled before start - never submitted From the three tests you listed (partial-submit, cancel-before-start, cooperative close-failure), I can't tell which one covers removal from the cooperative queue. **Not mentioned in the part of your update I can see** Please say for each whether it is fixed in `0b242a3271` or still pending: - **`deployLocalTask` Javadoc (Medium):** it described only the pre-publication failure contract. The post-publish rollback and its different completion mode need documenting. - **Callback-side rollback test:** cleanup sits outside `finally`, and `stop.set(true)` has no effect on the deserialized task. - **PR description:** it says only `TaskExecutionService` and its test are touched, but `TaskGroupContext` gains a public method and a `volatile` field. - **`TaskGroupContext` setters:** the class-level setter annotation lets `setClassLoaders`/`setJars` bypass the claim-once invariant, and `jars` is not `volatile` while `classLoaders` is. - **Assertions inside the overridden `submit()`:** they are swallowed by the production `catch (Throwable)` they are meant to guard. - **Partial-submit test:** the rejecting executor and PART mode are installed on the shared server before entering `try`/`finally`. - **Test helper cleanup:** the unused `callCount()` accessor, the inline fully-qualified type, and the executor override being set two different ways. The two Medium items matter most; the rest are Low-severity cleanups. <!-- streview-comment:2603 --> -- 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]
