You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Zhu Zhu (Jira)" <ji...@apache.org> on 2021/03/25 03:42:00 UTC
[jira] [Closed] (FLINK-21951) Fix wrong if condition in
BufferReaderWriterUtil#writeBuffers
[ https://issues.apache.org/jira/browse/FLINK-21951?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhu Zhu closed FLINK-21951.
---------------------------
Assignee: Yingjie Cao
Resolution: Fixed
Fixed via 3533d9822f0f653f2848b31de0fc239b3a12dcef
> 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
> Assignee: Yingjie Cao
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.13.0
>
>
> The wrong if condition in BufferReaderWriterUtil#writeBuffers may lead to data loss when bulk writing a large number of buffers 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)