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

Ash Berlin-Taylor resolved AIRFLOW-5463.
----------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>             Fix For: 1.10.7
>
>
> 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.4#803005)

Reply via email to