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

Beam JIRA Bot updated BEAM-5654:
--------------------------------
    Labels: stale-P2  (was: )

> Race condition in python sdk_worker causing KeyError
> ----------------------------------------------------
>
>                 Key: BEAM-5654
>                 URL: https://issues.apache.org/jira/browse/BEAM-5654
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>            Reporter: Alex Amato
>            Priority: P2
>              Labels: stale-P2
>
> We save Dataflow pipelines hitting a key error when hitting this line. This 
> is likely due to a race condition between the key existence check and 
> accessing it.
> [https://github.com/apache/beam/blob/v2.6.0/sdks/python/apache_beam/runners/worker/sdk_worker.py#L189]
> One fix would be to do a single lookup for the value instead of the double 
> lookup.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to