You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Dan Davydov (JIRA)" <ji...@apache.org> on 2016/12/06 22:18:58 UTC

[jira] [Created] (AIRFLOW-678) Task instances can double-trigger

Dan Davydov created AIRFLOW-678:
-----------------------------------

             Summary: Task instances can double-trigger
                 Key: AIRFLOW-678
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-678
             Project: Apache Airflow
          Issue Type: Bug
            Reporter: Dan Davydov
            Assignee: Dan Davydov


At the moment there is no lock/synchronization around the loop where the scheduler puts tasks in the SCHEDULED state. This means that if somehow the task starts running or gets SCHEDULED somewhere else somehow (e.g. manually running a task via the webserver) the task can have it's state changed from RUNNING/QUEUED to SCHEDULED which can cause a single task instance to be run twice at the same time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)