[
https://issues.apache.org/jira/browse/FLINK-18728?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yingjie Cao closed FLINK-18728.
-------------------------------
Resolution: Fixed
> Make initialCredit of RemoteInputChannel final
> ----------------------------------------------
>
> Key: FLINK-18728
> URL: https://issues.apache.org/jira/browse/FLINK-18728
> Project: Flink
> Issue Type: Improvement
> Components: Runtime / Network
> Reporter: Yingjie Cao
> Priority: Minor
> Labels: pull-request-available
> Fix For: 1.12.0
>
>
> The filed initialCredit of RemoteInputChannel is set only once and can be
> accessed by multi threads. We can make the filed final and moves the
> initialization to the constructor of RemoteInputChannel to avoid potential
> thread safety issues.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)