[
https://issues.apache.org/jira/browse/FLINK-24275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chesnay Schepler closed FLINK-24275.
------------------------------------
Fix Version/s: 1.15.0
Resolution: Fixed
master:
464991810c01d5e4e42e41159ccfd6f1ded7623b..cade3664d50148474f9ad57802908e027b30b0f6
> Allow idempotent job cancellation
> ---------------------------------
>
> Key: FLINK-24275
> URL: https://issues.apache.org/jira/browse/FLINK-24275
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / REST
> Reporter: Austin Cawley-Edwards
> Assignee: Chesnay Schepler
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> As a user of Flink, I want to be able to cancel a job from an external system
> in a fault-tolerant way without guessing if the job has already been
> cancelled.
>
> Currently, the cancel endpoint (PATCH /jobs/:jobid?mode=cancel) will return a
> 404 if the job is already cancelled. This makes it hard to detect if the job
> truly doesn't exist, or if it is already in the desired state.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)