You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2019/07/30 08:42:00 UTC

[jira] [Commented] (FLINK-13491) AsyncWaitOperator doesn't handle endInput call properly

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

Aljoscha Krettek commented on FLINK-13491:
------------------------------------------

I feel it's the same problem as {{cancel()}} and {{prepareSnapshotPreBarrier()}}, i.e. users have to make sure to flush data and wait. I don't know if there is a way around that actually.

> AsyncWaitOperator doesn't handle endInput call properly
> -------------------------------------------------------
>
>                 Key: FLINK-13491
>                 URL: https://issues.apache.org/jira/browse/FLINK-13491
>             Project: Flink
>          Issue Type: Bug
>          Components: API / DataStream
>    Affects Versions: 1.9.0
>            Reporter: Piotr Nowojski
>            Priority: Blocker
>             Fix For: 1.9.0
>
>
> This is the same issue as for {{ContinousFileReaderOperator}} in https://issues.apache.org/jira/browse/FLINK-13376. {{AsyncWaitOperator}} will propagate {{endInput}} notification immediately, even if it has some records buffered.
> Side note, this also shows that the current {{BoundedOneInput#endInput}} API is easy to mishandle if an operator buffers some records internally. Maybe we could redesign this API somehow [~aljoscha] [~sunhaibotb]?



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)