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

[jira] [Created] (FLINK-21951) Fix wrong if condition in BufferReaderWriterUtil#writeBuffers

Yingjie Cao created FLINK-21951:
-----------------------------------

             Summary: Fix wrong if condition in BufferReaderWriterUtil#writeBuffers
                 Key: FLINK-21951
                 URL: https://issues.apache.org/jira/browse/FLINK-21951
             Project: Flink
          Issue Type: Sub-task
          Components: Runtime / Network
            Reporter: Yingjie Cao
             Fix For: 1.13.0


The wrong if condition in BufferReaderWriterUtil#writeBuffers may lead to data loss when bulk writing a large amount of data into file. This is a bug intruded since 1.9, but only small amount of data is written, so the bug never occurs. In 1.13, the sort-merge shuffle uses it to write more data which triggers the bug.



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