You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Yun Tang (JIRA)" <ji...@apache.org> on 2019/03/05 17:36:04 UTC

[jira] [Created] (FLINK-11829) [checkpoint] FsCheckpointStateOutputStream might store state in files even state size below fileStateThreshold

Yun Tang created FLINK-11829:
--------------------------------

             Summary: [checkpoint] FsCheckpointStateOutputStream might store state in files even state size below fileStateThreshold
                 Key: FLINK-11829
                 URL: https://issues.apache.org/jira/browse/FLINK-11829
             Project: Flink
          Issue Type: Bug
    Affects Versions: 1.7.2, 1.6.3
            Reporter: Yun Tang
            Assignee: Yun Tang


This bug might happen when we call below method
{code:java}
FsCheckpointStreamFactory.FsCheckpointStateOutputStream#write(byte[] , int , int)
{code}

If the bytes array to write occupied the size between [writeBuffer.size/2, fileStateThreshold) , it will actually flush to a file and return as {{FileStateHandle}}. However, we hope the returned result as a {{ByteStreamStateHandle}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)