You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (JIRA)" <ji...@apache.org> on 2019/02/15 15:17:00 UTC

[jira] [Created] (FLINK-11629) Stop AkkaRpcActor immediately after onStop has finished

Till Rohrmann created FLINK-11629:
-------------------------------------

             Summary: Stop AkkaRpcActor immediately after onStop has finished
                 Key: FLINK-11629
                 URL: https://issues.apache.org/jira/browse/FLINK-11629
             Project: Flink
          Issue Type: Improvement
          Components: Distributed Coordination
    Affects Versions: 1.8.0
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann
             Fix For: 1.8.0


Currently, the {{AkkaRpcActor}} sends a {{Kill}} message to itself after the {{onStop}} future has been completed. Since {{Kill}} messages enqueue into the mail box, the stop operation is not immediate. I suggest to rather use {{Context#stop(ActorRef)}} to immediately stop the {{AkkaRcpActor}} upon termination.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)