SEZ9 commented on PR #13516: URL: https://github.com/apache/seatunnel/pull/13516#issuecomment-7296898154
Thanks for your patience on this one. Apache Build now passes on `13b57d66acb4`, which clears the CI condition from the [earlier review](https://github.com/apache/seatunnel/pull/13516#pullrequestreview-6102645872). The head is unchanged, so the source assessment from that review still applies. A write-capable maintainer approval is still required separately. The earlier non-blocking feedback is still open. For each point below, please either push a change or reply with why you'd leave it as is. **`CoordinatorService.java`** - **Step-down stall:** the rollback path takes the coordinator monitor on the admission thread, so a step-down with a running, unpublished admission waits out the full 20 s `awaitTermination`. - **Misleading step-down error:** the caller is told the submission "was not completed", but the persisted `JobInfo` is deliberately kept and the next master runs the job. The exception also carries no job id. Could the message reflect the real outcome and include the job id? - **Stale comment:** the generation-mismatch branch says the durable `JobInfo` "is rolled back below", but the code below keeps it. - **In-flight duplicates:** a duplicate receives the owner's result without comparing the payload or the `isStartWithSavePoint` flag. Is that intended? - **Test gates:** the two gates are JVM-wide static mutable hooks on the production submission path, with no exception handling around the first one. **`CoordinatorServiceTest.java`** - **Gate released too early:** `admissionPauseGate` is released by the interrupt from `shutdownNow()`, so the stale admission resumes during the step-down rather than after the successor has restored the job. **`ConcurrentDuplicateSubmissionIT.java`** - **In-flight branch not proven:** the IT never shows that any submitter took the new in-flight branch, so it can pass through the pre-existing "already running" path alone. Could you add an assertion that pins this down? - **Cleanups:** please use `TestUtils.getClusterName(...)` instead of raw cluster names, and import `ExecutionException` rather than using the inline fully-qualified name. <!-- streview-comment:2757 --> -- 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]
