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

   @CryoThrust thanks for the update.
   
   **Second status read / null path in `cancelJob()`**
   
   Keeping the fresh second read and defining its missing-entry outcome 
explicitly matches what was suggested earlier in this thread, given the 
pending-to-running cleanup case. I can't mark this point resolved yet, because 
the last head checked in this thread was 
`5372e2f844820c51d58b49e3e5d7f75b7c124d38` and the change you describe has not 
been checked against a diff here. Two asks:
   - Please confirm the head containing this change is pushed.
   - Which exception does `cancelJob()` throw on the missing-entry path, and 
does `testCancelJobOnStatusClearedBetweenReadsFailsBeforeTransition` assert 
that specific type rather than any throwable?
   
   **Check/transition race outside the monitor**
   
   Agreed to leave this out of this PR. It predates the predicate change, and 
you note that the PR description now records the contract and keeps the atomic 
check/transition work separate. Nothing more is needed here.
   
   **Test coverage and Javadoc**
   
   The `JobStatusTest` guard and Javadoc points were already recorded as 
resolved earlier in the thread. Coverage of the second-read decision in 
`cancelJob()` stays open until the new test, next to the existing 
pending-to-running test, can be checked in the pushed diff.
   
   **Verification of the new test**
   
   As you note, your JDK 11 results (`JobStatusTest` 2, 
`StateTransitionCleanupTest` 22) are local only. You report that Build 
45534666521 failed in jobs 138939389948 and 138939391575 while fetching the 
Maven wrapper JAR, before reaching tests, so there is no hosted result for the 
new test yet. Please post here once a hosted run reaches 
`StateTransitionCleanupTest`.
   
   <!-- streview-comment:2614 -->


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