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 2017/10/21 06:13:00 UTC

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

Aljoscha Krettek created BEAM-3087:
--------------------------------------

             Summary: 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: Aljoscha Krettek
             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
(v6.4.14#64029)