You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yuxin Tan (Jira)" <ji...@apache.org> on 2024/02/29 07:49:00 UTC

[jira] [Updated] (FLINK-34544) Tiered result partition should be released with lock

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

Yuxin Tan updated FLINK-34544:
------------------------------
    Summary: Tiered result partition should be released with lock  (was: The release check bug in tiered memory manager of hybrid shuffle)

> Tiered result partition should be released with lock
> ----------------------------------------------------
>
>                 Key: FLINK-34544
>                 URL: https://issues.apache.org/jira/browse/FLINK-34544
>             Project: Flink
>          Issue Type: Bug
>          Components: Runtime / Network
>    Affects Versions: 1.20.0
>            Reporter: Yuxin Tan
>            Assignee: Yuxin Tan
>            Priority: Major
>
> The `TieredStorageMemoryManagerImpl` has a `numRequestedBuffers` check when releasing resources. However, this check is performed in the task thread, while the buffer recycle may occur in the Netty thread. As a result, it may incorrectly throw an exception when the release is too quick for the vertex, which has almost no data.
> We should fix it.



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