Alex Amato created BEAM-5654:
--------------------------------
Summary: 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
Assignee: Ahmet Altay
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
(v7.6.3#76005)