You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Weijie Guo (Jira)" <ji...@apache.org> on 2023/03/31 09:43:00 UTC

[jira] [Closed] (FLINK-31626) HsSubpartitionFileReaderImpl should recycle skipped read buffers.

     [ https://issues.apache.org/jira/browse/FLINK-31626?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Weijie Guo closed FLINK-31626.
------------------------------
    Fix Version/s: 1.18.0
                   1.17.1
       Resolution: Fixed

master(1.18) via 59462197ba725b9fc0118ec54ec9f1325b8a874a.
release-1.17 via 0f59c8f7b161e96f026529f542c00b1094107371

> HsSubpartitionFileReaderImpl should recycle skipped read buffers.
> -----------------------------------------------------------------
>
>                 Key: FLINK-31626
>                 URL: https://issues.apache.org/jira/browse/FLINK-31626
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Network
>    Affects Versions: 1.17.1
>            Reporter: Weijie Guo
>            Assignee: Weijie Guo
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.18.0, 1.17.1
>
>
> In FLINK-30189, {{HsSubpartitionFileReaderImpl}} will skip the buffer has been consumed from memory to avoid double-consumption. But these buffers were not returned to the {{BatchShuffleReadBufferPool}}, resulting in read buffer leaks. In addition, all loaded buffers should also be recycled after data view released.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)