[jira] [Created] (FLINK-7974) AbstractServerBase#shutdown does not wait for shutdown completion

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

[jira] [Created] (FLINK-7974) AbstractServerBase#shutdown does not wait for shutdown completion

Shang Yuanchun (Jira)
Till Rohrmann created FLINK-7974:
------------------------------------

             Summary: AbstractServerBase#shutdown does not wait for shutdown completion
                 Key: FLINK-7974
                 URL: https://issues.apache.org/jira/browse/FLINK-7974
             Project: Flink
          Issue Type: Bug
          Components: Queryable State
    Affects Versions: 1.4.0
            Reporter: Till Rohrmann
            Priority: Critical


The {{AbstractServerBase}} does not wait for the completion of its shutdown when calling {{AbstractServerBase#shutdown}}. This is problematic since it leads to resource leaks and instable tests such as the {{AbstractServerTest}}. I propose to let the {{AbstractServerBase#shutdown}} return a termination future which is completed upon shutdown completion.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)