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

Weijie Guo updated FLINK-35169:
-------------------------------
    Fix Version/s: 1.20.0

> Recycle buffers to freeSegments before releasing data buffer for sort 
> accumulator
> ---------------------------------------------------------------------------------
>
>                 Key: FLINK-35169
>                 URL: https://issues.apache.org/jira/browse/FLINK-35169
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Network
>    Affects Versions: 1.20.0
>            Reporter: Yuxin Tan
>            Assignee: Yuxin Tan
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.20.0
>
>
> When using sortBufferAccumulator, we should recycle the buffers to 
> freeSegments before releasing the data buffer. The reason is that when 
> getting buffers from the DataBuffer, it may require more buffers than the 
> current quantity available in freeSegments. Consequently, to ensure adequate 
> buffers from DataBuffer, the flushed and recycled buffers should also be 
> added to freeSegments for reuse.



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

Reply via email to