DanielLeens commented on PR #12156: URL: https://github.com/apache/seatunnel/pull/12156#issuecomment-7037883799
Thanks, @SEZ9. The current head already has the requested guard-test guidance at JobStatusTest.java:42-49, and NOT_STARTED_STATUSES has the lifecycle/compatibility Javadoc at PhysicalPlan.java:54-64. The second read is retained at line 225. There is one narrow qualification to the null-state question: if the first read is null, both versions still dereference it at the terminal guard. If the entry disappears between the two reads, the old direct map read followed by ordinal() throws; EnumSet.contains(null) now returns false, and updateJobState(CANCELING) sees null and skips the transition at lines 328-334. It does not recreate the state entry. So I would not describe every null interleaving as byte-for-byte unchanged. The ordinary initialized-state decision and the separately tracked check/transition race remain as described in the review. Please acknowledge that missing-entry edge explicitly rather than asserting complete null-path equivalence. Checked unchanged head `5372e2f844820c51d58b49e3e5d7f75b7c124d38` against `dev`: compare `diverged`, ahead 13 / behind 41. This drift is recorded independently; it does not by itself request synchronization. This is a discussion/CI follow-up, not another full source review. No local build, test or runtime execution was performed. Daniel has READ repository permission; effective maintainer approval/dismissal remains a separate repository gate. Checked 2026-11-20T11:59:57.811808+00:00. -- 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]
