Rangsh commented on PR #12218: URL: https://github.com/apache/seatunnel/pull/12218#issuecomment-7336153626
@SEZ9 status at `4083d330a2` for the five points. Nothing in this comment changes the code. 1. **Rollback and `taskDone`:** Done. Dropped tasks are counted, so the rolled-back tracker can complete. `registerAllDeploymentTasks` runs before publish. `accountForTasksDroppedAfterRollback` calls `taskDone` for tasks removed from the cooperative queue, cancelled before start, or never submitted. A RUNNING worker reports `taskDone` itself. `assertFailedGenerationAccounting` checks latch 0 and the done count: `testDeployLocalTaskRollsBackAfterPartialBlockingSubmitRejection` (4), `testRollbackAccountsBlockingCancelledBeforeWorkerStarts` (3), `testDeployLocalTaskRollsBackAfterPostPublishFailureAndAllowsRedeploy` (1). 2. **`deployLocalTask` Javadoc:** Done. After `contextPublished`, failure runs `rollbackPublishedDeployment` and completes `FAILED`. Before publication it still uses `completeExceptionally(t)`. 3. **Callback-side rollback test:** Done. `testDeployLocalTaskRollsBackAfterPostPublishFailureAndAllowsRedeploy` puts cleanup in `finally`. The old per-instance `stop.set(true)` is gone. `ExecutionMarkerTask` uses a static `STOP`, `reset()` before redeploy, and `requestStop()` in `finally`. 4. **PR description:** Done. The scope lists `TaskGroupContext.java`, the public method `claimJarsForClassLoaderRelease()`, and `classLoaders` / `jars` as `volatile` with `@Setter(AccessLevel.NONE)`. 5. **`TaskGroupContext`:** Done. The class-level setter cannot bypass claim-once. Both `classLoaders` and `jars` have `@Setter(AccessLevel.NONE)`, and both are `volatile`. Happy to point at the exact lines if useful. -- 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]
