You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Cedrik Neumann (Jira)" <ji...@apache.org> on 2019/09/12 08:23:00 UTC
[jira] [Created] (AIRFLOW-5463) Variable set is not atomic
Cedrik Neumann created AIRFLOW-5463:
---------------------------------------
Summary: Variable set is not atomic
Key: AIRFLOW-5463
URL: https://issues.apache.org/jira/browse/AIRFLOW-5463
Project: Apache Airflow
Issue Type: Bug
Components: core, models
Affects Versions: 1.10.5
Reporter: Cedrik Neumann
The function \{{Variable.set}} deletes the variable first
[https://github.com/apache/airflow/blob/1.10.5/airflow/models/variable.py#L137]
although it doesn't pass the DB session as an argument, thus delete and add don't run in an atomic operation.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)