zhangshenghang commented on issue #13497: URL: https://github.com/apache/seatunnel/issues/13497#issuecomment-7215037885
I reproduced this on `dev` (`ee0fb0d72f`) with the exact 2-master + worker scenario from the report: after killing the active master while the checkpoint-disabled BATCH tasks were still running on the worker, the restored coordinator persisted three periodic checkpoints (ids 1, 2 and 3) within the observation window, and the per-pipeline checkpoint id counter advanced from its initial value. Opened #13500 with the fix and the E2E regression coverage. The new `CheckpointCoordinatorFailoverIT#testCheckpointDisabledBatchJobDoesNotCheckpointAfterMasterFailover` fails on unmodified `dev` with those three checkpoints and passes with the fix, asserting that the restored job keeps reading rows, persists no checkpoint, and leaves the checkpoint id counter unchanged. The fix guards `restoreCoordinator(true)` with `isCheckpointEnable()` and adds the same guard defensively in `tryTriggerPendingCheckpoint` for general periodic checkpoints; the final `COMPLETED_POINT_TYPE` branch and savepoints are unchanged. -- 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]
