You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yingjie Cao (Jira)" <ji...@apache.org> on 2022/01/26 02:25:00 UTC
[jira] [Closed] (FLINK-21789) Make FileChannelManagerImpl#getNextPathNum select data directories fairly
[ https://issues.apache.org/jira/browse/FLINK-21789?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yingjie Cao closed FLINK-21789.
-------------------------------
Resolution: Fixed
> Make FileChannelManagerImpl#getNextPathNum select data directories fairly
> -------------------------------------------------------------------------
>
> Key: FLINK-21789
> URL: https://issues.apache.org/jira/browse/FLINK-21789
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Network
> Reporter: Yingjie Cao
> Assignee: Yuxin Tan
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.15.0
>
>
> The get and increase next path index inĀ FileChannelManagerImpl#getNextPathNum is not atomic which may cause unfairness of data directory selection (bad for performance if multiple disk is configured).
--
This message was sent by Atlassian Jira
(v8.20.1#820001)