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 2018/02/24 11:52:00 UTC
[jira] [Closed] (FLINK-8665) Allow RpcEndpoint#postStop to complete
asynchronously
[ https://issues.apache.org/jira/browse/FLINK-8665?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann closed FLINK-8665.
--------------------------------
Resolution: Fixed
Fixed via d9b28e817351eb2eb6b4cdd9597061713d9160e8
> Allow RpcEndpoint#postStop to complete asynchronously
> -----------------------------------------------------
>
> Key: FLINK-8665
> URL: https://issues.apache.org/jira/browse/FLINK-8665
> Project: Flink
> Issue Type: Sub-task
> Components: Distributed Coordination
> Affects Versions: 1.5.0
> Reporter: Till Rohrmann
> Assignee: Till Rohrmann
> Priority: Major
> Labels: flip-6
> Fix For: 1.5.0
>
>
> Every {{RpcEndpoint}} should have the possibility to trigger asynchronous clean up operations in its {{RpcEndpoint#postStop}} method. In order to do that the {{postStop}} method should return a {{CompletableFuture<Void>}} which is completed once all post stop actions have finished. The {{RpcEndpoint#terminationFuture}} will only be completed afterwards.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)