DanielLeens commented on PR #12156: URL: https://github.com/apache/seatunnel/pull/12156#issuecomment-7098555564
Thanks @SEZ9. You are right that disappearance between the two reads is not exactly equivalent: EnumSet.contains(null) differs from the old ordinal() dereference. I should qualify the earlier blanket compatibility wording for that boundary. I would still not replace the second read with the first snapshot: StateTransitionCleanupTest:215-239 deliberately moves PENDING to RUNNING between reads and asserts CANCELING plus pipeline cancellation; caching the first value would bypass that cleanup. If this boundary is tightened, keep the fresh read, explicitly define its null outcome, and pin that outcome separately. The broader atomic check/transition change remains #12342. No new source fix is claimed here. Current Build is failed; current dev has byte-identical mvnw/wrapper properties, so syncing alone is not a verified bootstrap fix. -- 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]
