DanielLeens commented on issue #13481:
URL: https://github.com/apache/seatunnel/issues/13481#issuecomment-7221050075

   # Draft reply: #13481
   
   Classification: A / Zeta multi-pipeline savepoint lifecycle.
   
   I rechecked current `dev` (`ee0fb0d72f67edbcd6caf08360fd354fa68e002f`). 
`CheckpointManager.triggerSavePoints*()` still invokes every coordinator 
without excluding cleanly completed pipelines, and `isSavePointEnd()` still 
requires every coordinator to have ended with a savepoint. Merged #13447 covers 
two active pipelines taking and restoring a savepoint; it does not cover the 
reported completed-plus-running combination. No exact implementation PR is open.
   
   @hutiefang76, I have assigned this issue to you. Your scope and validation 
proposal is correct with these required boundaries:
   
   1. Skip only `isNoErrorCompleted()` coordinators. Failed or cancelled 
pipelines must still make the request fail, and a request with no active 
pipeline must have an explicit non-success outcome.
   2. The active pipeline(s) must still persist a real savepoint, while cleanly 
completed pipelines count as terminally safe rather than as 
`CHECKPOINT_COORDINATOR_SHUTDOWN`. Do not relax failure handling merely to make 
the aggregate future succeed.
   3. Preserve public APIs, configuration and checkpoint/savepoint formats. The 
retention decision must not delete a valid savepoint just because another 
pipeline completed normally.
   4. Add a real Zeta regression with one fast completed pipeline and one 
running pipeline: stop-with-savepoint succeeds, restore does not revive the 
completed pipeline, the active pipeline resumes correctly, and a 
failed/cancelled-pipeline control still fails. Run the relevant unit/E2E checks 
plus formatting and module verification.
   
   Please link the focused PR here when that evidence is ready.
   


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