[
https://issues.apache.org/jira/browse/FLINK-10251?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16651672#comment-16651672
]
Till Rohrmann commented on FLINK-10251:
---------------------------------------
Yes it should only be relevant for the {{handleRpcInvocation}} method. I think
the check should only be necessary and done if the {{getSender()}} is a remote
actor. I think you can use the sender's address to check that:
{{getSender().path().address().hasLocalScope()}}.
> Handle oversized response messages in AkkaRpcActor
> --------------------------------------------------
>
> Key: FLINK-10251
> URL: https://issues.apache.org/jira/browse/FLINK-10251
> Project: Flink
> Issue Type: Improvement
> Components: Distributed Coordination
> Affects Versions: 1.5.3, 1.6.0, 1.7.0
> Reporter: Till Rohrmann
> Assignee: vinoyang
> Priority: Major
> Fix For: 1.7.0, 1.6.2, 1.5.5
>
>
> The {{AkkaRpcActor}} should check whether an RPC response which is sent to a
> remote sender does not exceed the maximum framesize of the underlying
> {{ActorSystem}}. If this is the case we should fail fast instead. We can
> achieve this by serializing the response and sending the serialized byte
> array.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)