[ 
https://issues.apache.org/jira/browse/FLINK-8665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375514#comment-16375514
 ] 

ASF GitHub Bot commented on FLINK-8665:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/5498


> 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)

Reply via email to