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

[jira] [Created] (FLINK-34544) The release check bug in tiered memory manager of hybrid shuffle

Yuxin Tan created FLINK-34544:
---------------------------------

             Summary: The release check bug in tiered memory manager of hybrid shuffle
                 Key: FLINK-34544
                 URL: https://issues.apache.org/jira/browse/FLINK-34544
             Project: Flink
          Issue Type: Bug
          Components: Runtime / Network
    Affects Versions: 1.19.0
            Reporter: Yuxin Tan
            Assignee: Yuxin Tan


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)