[ https://issues.apache.org/jira/browse/FLINK-31626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17707221#comment-17707221 ]
Weijie Guo edited comment on FLINK-31626 at 3/31/23 9:42 AM: ------------------------------------------------------------- master(1.18) via 59462197ba725b9fc0118ec54ec9f1325b8a874a. release-1.17 via 0f59c8f7b161e96f026529f542c00b1094107371. was (Author: weijie guo): 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)