You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Ingo Bürk (Jira)" <ji...@apache.org> on 2022/04/26 14:12:00 UTC

[jira] [Created] (FLINK-27419) Endpoint to cancel savepoints

Ingo Bürk created FLINK-27419:
---------------------------------

             Summary: Endpoint to cancel savepoints
                 Key: FLINK-27419
                 URL: https://issues.apache.org/jira/browse/FLINK-27419
             Project: Flink
          Issue Type: New Feature
          Components: Runtime / REST
            Reporter: Ingo Bürk


The Flink REST API currently offers no endpoint to cancel a triggered savepoint. This would be useful for clients to make it easier to coordinate the cleanup of resources.

I propose to add a new `DELETE /jobs/:jobId/savepoints/:triggerId` endpoint which aborts a triggered and not-yet completed savepoint. If the endpoint is already completed or failed, this should probably return an error as the API is built around "triggering savepoints" as a resource, not the savepoint itself, and thus DELETE would mean canceling the savepoint, not deleting it.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)