[
https://issues.apache.org/jira/browse/FLINK-4368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15415735#comment-15415735
]
ASF GitHub Bot commented on FLINK-4368:
---------------------------------------
Github user StephanEwen commented on the issue:
https://github.com/apache/flink/pull/2351
@tillrohrmann What do you think about this?
The downside that I can see is that the RPC endpoint can actually receive
calls before the constructor is completed, basically as soon as the base class'
constructor is complete. That may actually be an issue.
> Eagerly initialize RrcProtocol members
> --------------------------------------
>
> Key: FLINK-4368
> URL: https://issues.apache.org/jira/browse/FLINK-4368
> Project: Flink
> Issue Type: Sub-task
> Components: Distributed Coordination
> Environment: FLIP-6 feature branch
> Reporter: Stephan Ewen
>
> The members of the RPC endpoint (RpcProtocol) are lazily created upon the
> {{start()}} call.
> I suggest to initialize them eagerly as they seem to be integral parts
> without which several functions cannot work properly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)