Yingjie Cao created FLINK-18728: ----------------------------------- Summary: 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 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)