[ https://issues.apache.org/jira/browse/FLINK-11629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann reopened FLINK-11629: ----------------------------------- > 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 > Priority: Major > Labels: pull-request-available > Fix For: 1.8.0 > > Time Spent: 10m > Remaining Estimate: 0h > > 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)