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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)