SEZ9 commented on issue #13324: URL: https://github.com/apache/seatunnel/issues/13324#issuecomment-7262615126
@SEPURI-SAI-KRISHNA Yes, that works, and the gap you found is a real prerequisite rather than a detail. If `updateStatus` skips the write whenever `checkpoint_state_<job>_<pipeline>` is absent and nothing else creates that key, R2 is never written for a freshly submitted job. The contract would then put every pipeline that finished before a master switch in case 2, as you say. On your two proposals: - **Basing the PR on #12559 and opening it after that merges:** agreed. Please don't build the R1/R2 change on the unmerged head, and don't treat the first-transition behaviour as solved until it has landed. - **Job lock timeout on FINISHED and SUSPEND:** agreed. A skipped write there is not a successful terminal transition, so it should end FAILED and keep R1. As with a rejected R2, the failure should name the key, target status and cause, and a later master must not write RUNNING or trigger a second final checkpoint. What I still need from you: 1. Once #12559 is merged, rerun your `completePendingCheckpoint` probe on an empty IMap against current `dev`. Your result is from `0bef81d003`, so please confirm that the first transition now creates the key and FINISHED is written. 2. Keep that empty-IMap case in the PR as a test, next to the four agreed tests, which stay unchanged. 3. Show that normal successful FINISHED and SUSPEND transitions behave as before. 4. Link the PR here with the test evidence from the exact head you want reviewed. <!-- streview-comment:2707 --> -- 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]
