Details
-
Sub-task
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
1.5.0
-
The REST API to trigger the "cancel with savepoint" action has changed, and is not backwards compatible.
Description
Implement the method
RestClusterClient#cancelWithSavepoint(JobID jobId, @Nullable String savepointDirectory).
by either taking a savepoint and cancel the job separately, or by migrating the logic in JobCancellationWithSavepointHandlers. The former will have different semantics because the checkpoint scheduler is not stopped. Thus it is not guaranteed that there won't be additional checkpoints between the savepoint and the job cancelation.