jiangxin369 commented on code in PR #23957: URL: https://github.com/apache/flink/pull/23957#discussion_r1448384184
########## flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/hybrid/tiered/shuffle/TieredResultPartition.java: ########## @@ -187,6 +187,7 @@ public void finish() throws IOException { @Override public void close() { + storageMemoryManager.release(); Review Comment: To make sure the buffers are not recycled to `bufferQueue`, I added a check of `isReleased` state. If the memory manager is released, all buffers would be recycled to the buffer pool. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org