SEZ9 commented on PR #12218:
URL: https://github.com/apache/seatunnel/pull/12218#issuecomment-7262794462

   @Rangsh thanks for the update on `54f42174d0`, the local 
`TaskExecutionServiceTest` 33/33 figure and the run link (46267608955).
   
   **Dropped-task accounting (Medium)**
   
   As you describe it, the change targets the concern that a rolled-back 
tracker could never complete on its own: `registerExpectedBlockingTasks` before 
the blocking submit loop, `accountForTasksDroppedAfterRollback` on rollback 
(including cooperative trackers removed from `threadShareTaskQueue`), and 
`assertFailedGenerationAccounting` checking the latch and the done count 
against the expected generation size.
   
   Thanks for the drop-path table. Two of the three paths are clear:
   
   - **Never submitted:** 
`testDeployLocalTaskRollsBackAfterPartialBlockingSubmitRejection`, with 
`assertFailedGenerationAccounting(..., 4)` and 
`PartialSubmitProbeTask.enteredCall(4L)` false.
   - **Removed from the cooperative queue:** the same test, with 
`threadShareQueueContainsLocation(..., location)` false and the same accounting 
assertion.
   
   Your comment reaches me cut off at the "Cancelled befor" row, so I can't see 
the third path or anything after it. This point stays open on my side until I 
have that row.
   
   **What I still need**
   
   1. The test name and assertion for the cancelled-before-start path. Please 
re-post that row and anything that followed it.
   2. A short status (done, or not done and why) for each of the other earlier 
points, if the cut-off part didn't already cover them:
      - The `deployLocalTask` Javadoc should describe the post-publish rollback 
and its different completion mode.
      - The callback-side rollback test cleans up outside `finally`, and its 
`stop.set(true)` has no effect on the deserialized task.
      - The PR description should mention the `TaskGroupContext` changes (a new 
public method and a `volatile` field).
      - The class-level setter annotation on `TaskGroupContext` lets 
`setClassLoaders`/`setJars` bypass the claim-once invariant, and `jars` is not 
`volatile` while `classLoaders` is.
      - Assertions inside the overridden `submit()` are swallowed by the 
production `catch (Throwable)`.
      - The partial-submit test installs the rejecting executor and PART mode 
on the shared server before its `try`/`finally`.
      - Test helper cleanup: the unused `callCount()` accessor, the inline 
fully-qualified type, and the executor override being set two different ways.
   
   Once I have the missing row and those statuses, I'll do the follow-up pass 
on `54f42174d0`.
   
   <!-- streview-comment:2711 -->


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