You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2018/03/27 04:52:00 UTC

[jira] [Closed] (BEAM-3087) Extend lock scope in Flink UnboundedSourceWrapper

     [ https://issues.apache.org/jira/browse/BEAM-3087?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aljoscha Krettek closed BEAM-3087.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.5.0

> 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
>            Assignee: Grzegorz KoĊ‚akowski
>            Priority: Major
>             Fix For: 2.5.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)