You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "xiaogang zhou (Jira)" <ji...@apache.org> on 2021/03/29 07:36:00 UTC

[jira] [Created] (FLINK-22008) writing metadata is not an atomic operation, we should add a commit logic

xiaogang zhou created FLINK-22008:
-------------------------------------

             Summary: writing metadata is not an atomic operation, we should add a commit logic
                 Key: FLINK-22008
                 URL: https://issues.apache.org/jira/browse/FLINK-22008
             Project: Flink
          Issue Type: Improvement
          Components: Runtime / Checkpointing
    Affects Versions: 1.12.2
            Reporter: xiaogang zhou


writing metadata is not an atomic operation, some logic can cause there is a metadata file in the checkpoint dir, but the data is corrupted if the jobmanager crash while writing the metadata. 

 

So we should consider to add commit operation in the checkpoint storage location



--
This message was sent by Atlassian Jira
(v8.3.4#803005)