You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/07/27 08:15:00 UTC

[jira] [Updated] (FLINK-18728) Make initialCredit of RemoteInputChannel final

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

ASF GitHub Bot updated FLINK-18728:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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)