[jira] [Created] (FLINK-18935) CompletedOperationCache accepts new operations after closeAsync has been called

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

[jira] [Created] (FLINK-18935) CompletedOperationCache accepts new operations after closeAsync has been called

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

             Summary: CompletedOperationCache accepts new operations after closeAsync has been called
                 Key: FLINK-18935
                 URL: https://issues.apache.org/jira/browse/FLINK-18935
             Project: Flink
          Issue Type: Bug
          Components: Runtime / REST
    Affects Versions: 1.11.1, 1.10.1, 1.12.0
            Reporter: Till Rohrmann
            Assignee: Till Rohrmann
             Fix For: 1.12.0


The {{CompletedOperationCache}} accepts new operations after {{closeAsync}} has been called. This is problematic because the returned termination future of {{closeAsync}} won't include these new operations. I think it would be better to fail with an {{IllegalStateException}} when one tries to enqueue a new operation after the {{CompletedOperationCache}} has been shut down.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)