[
https://issues.apache.org/jira/browse/BEAM-5654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17137536#comment-17137536
]
Beam JIRA Bot commented on BEAM-5654:
-------------------------------------
This issue was marked "stale-P2" and has not received a public comment in 14
days. It is now automatically moved to P3. If you are still affected by it, you
can comment and move it back to P2.
> 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: P3
>
> 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)