[jira] [Created] (FLINK-17393) Improve the `FutureCompletingBlockingQueue` to wakeup blocking put() more elegantly.

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

[jira] [Created] (FLINK-17393) Improve the `FutureCompletingBlockingQueue` to wakeup blocking put() more elegantly.

Shang Yuanchun (Jira)
Jiangjie Qin created FLINK-17393:
------------------------------------

             Summary: Improve the `FutureCompletingBlockingQueue` to wakeup blocking put() more elegantly.
                 Key: FLINK-17393
                 URL: https://issues.apache.org/jira/browse/FLINK-17393
             Project: Flink
          Issue Type: Sub-task
          Components: Connectors / Common
            Reporter: Jiangjie Qin


Currently, if a {{FetchTask}} is blocking on {{FutureCompletingBlockingQueue.put()}}, interrupt has to be called to wake it up, which will result in {{InterruptedException}}. We can avoid the interruption by having our own implementation of {{BlockingQueue.Put()}}.



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