[ https://issues.apache.org/jira/browse/BEAM-5654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17123089#comment-17123089 ]
Beam JIRA Bot commented on BEAM-5654: ------------------------------------- This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3. Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean. > 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)