You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Chesnay Schepler (Jira)" <ji...@apache.org> on 2022/06/20 08:07:00 UTC

[jira] [Created] (FLINK-28127) Cancel during stop-with-savepoint may still create savepoint

Chesnay Schepler created FLINK-28127:
----------------------------------------

             Summary: Cancel during stop-with-savepoint may still create savepoint
                 Key: FLINK-28127
                 URL: https://issues.apache.org/jira/browse/FLINK-28127
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Coordination
    Affects Versions: 1.15.0
            Reporter: Chesnay Schepler


If the job is cancelled while a stop-with-savepoint is happening, then the savepoint may complete at the same time the cancellation is triggered, without being reported to the user via the REST API.
This is because the checkpoint coordinator does not run in the main thread, so it might happen that the final task acknowledge is handed over, immediately followed by a cancellation.

This chances of this happening are very low, but nevertheless we should figure out a solution.



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