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

   Thanks for the update. This follows up on the re-review at 
`7698ef262f8552213dc73514cf3c0dd5568f3ac7`. The poll-based hold no longer parks 
the source task while the checkpoint and teardown paths need it, and the 
running-engine fixture now covers a completed sibling for both savepoint and 
restore.
   
   Two paths are still blocking:
   
   - **Skip decision after a master switch.** On takeover, `CheckpointManager` 
reads the latest state per pipeline, and a stored completed-point marker takes 
the non-null branch. That branch does not rebuild 
`completedPipelineIdsBeforeRestore`, because marker classification only runs 
when no state was loaded. Since the coordinator's clean-completion flag is 
local, a later savepoint can include the finished sibling again even though its 
durable marker exists. Please rebuild the skip state from the marker, and add a 
test with a master switch between the sibling completing and the next 
stop-with-savepoint.
   - **Rejected request on an all-completed job.** 
`selectSavepointCoordinators` still publishes the completed set and writes 
markers when the active set is empty. `JobMaster` rejects the request, but 
`isSavePointEnd()` can already return true, so 
`clearCheckpointIfNeed(FINISHED)` never deletes the job's checkpoint data. 
Please publish the skip set and markers only when an active coordinator will 
participate, or clear them on rejection. Either way, `isSavePointEnd()` should 
not report true when no savepoint was actually taken. Please add a test for 
rejection followed by terminal cleanup.
   
   Remaining asks from the earlier review:
   
   - **Restore compatibility.** The new empty-storage condition narrows the 
concern. An explicit savepoint restore still behaves differently when the 
source has regular checkpoints but no compatible savepoint or completion 
marker. Please document this as an incompatible change for existing `--restore` 
users.
   - **User docs.** Please describe the new stop-with-savepoint and restore 
semantics for multi-pipeline jobs in both `docs/en` and `docs/zh`.
   - **Completion-notification window.** I can't tell from this thread whether 
a pipeline inside that window is still fanned out and rejected. Could you 
confirm how the current head handles it and point to the test that covers it? 
If it is still open, the original #13481 failure can still reproduce there.
   - **PR description.** If it still describes the earlier, narrower revision, 
please update it to match the current diff.
   
   Once the two blocking paths are fixed and covered by tests, I'll take 
another look.
   
   <!-- streview-comment:2781 -->


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