beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aljoscha Krettek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BEAM-3087) Extend lock scope in Flink UnboundedSourceWrapper
Date Fri, 26 Jan 2018 13:34:00 GMT

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

Aljoscha Krettek commented on BEAM-3087:
----------------------------------------

There was one user that had a problem because of this but I didn't hear about it recently,
so I think it's ok to push it back.

> Extend lock scope in Flink UnboundedSourceWrapper
> -------------------------------------------------
>
>                 Key: BEAM-3087
>                 URL: https://issues.apache.org/jira/browse/BEAM-3087
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-flink
>            Reporter: Aljoscha Krettek
>            Priority: Critical
>             Fix For: 2.3.0
>
>
> In {{UnboundedSourceWrapper}} the lock scope is not big enough: we synchronise in {{emitElement()}}
but should instead synchronise inside the reader loop in {{run()}} because the {{Source}}
interface does not allow concurrent calls.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message