SEZ9 commented on issue #13782: URL: https://github.com/apache/seatunnel/issues/13782#issuecomment-7295387177
Thanks for the detailed report and the complete reproduction steps. We have not verified the analysis against the source tree yet, so it is unconfirmed on our side for now. As described, a BATCH job without `env.checkpoint.interval` accepts stop-with-savepoint and stores the savepoint. On restore, the `CheckpointManager` constructor only loads the restore base when `checkpointConfig.isCheckpointEnable() && isRestoreJob`, so the restored job replays the whole split (6000 rows instead of the remaining 1904). We agree that a savepoint which was accepted should not be silently ignored on restore. Two questions for the PR you mention, which already covers the fix and the `BatchSavepointRestoreCheckpointDisabledIT` guard: 1. Is the intended fix to load the savepoint whenever `isRestoreJob` is true, regardless of whether periodic checkpointing is enabled? Please keep the behavior consistent with #13497 and #13439. 2. You note that `CheckpointManager#clearCheckpointIfNeed` is also gated on `isCheckpointEnable()`, so the savepoint is never deleted. Will the PR change that cleanup, or leave it as is? Looking forward to the PR. <!-- streview-comment:2749 --> -- 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]
