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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)