You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aegeaner (JIRA)" <ji...@apache.org> on 2017/06/21 09:06:00 UTC

[jira] [Commented] (FLINK-6958) Async I/O timeout not work

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

Aegeaner commented on FLINK-6958:
---------------------------------

Maybe you could set a CountDownLatch, and call countdown in case of both complete and failure.

> Async I/O timeout not work
> --------------------------
>
>                 Key: FLINK-6958
>                 URL: https://issues.apache.org/jira/browse/FLINK-6958
>             Project: Flink
>          Issue Type: Bug
>          Components: Streaming
>    Affects Versions: 1.2.1
>            Reporter: feng xiaojie
>
> when use Async I/O with UnorderedStreamElementQueue, the queue will always full if you don't  call the AsyncCollector.collect to ack them.
> Timeout shall collect these entries when the timeout trigger,but it isn't work
> I debug find,
> when time out, it will call resultFuture.completeExceptionally(error);
> but not call  UnorderedStreamElementQueue.onCompleteHandler
> it will cause that async i/o hang always



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