Dmitrii Bocharov created AIRFLOW-5081:
-----------------------------------------

             Summary: max_active_runs doesn't work correct
                 Key: AIRFLOW-5081
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5081
             Project: Apache Airflow
          Issue Type: Bug
          Components: DagRun
    Affects Versions: 1.10.3
            Reporter: Dmitrii Bocharov


We have problem with max_active_run property, we are using airlow 1.10.3 and 
get some problems with count active dags at the moment.

We set max_active_run as 1 

self.dag = DAG(self.dag_name, default_args=default_args, 
schedule_interval=self.schedule_interval,
 max_active_runs=1).
Also we have hourly scheduling interval

The main problem is 2 dag run is running at the same time. It happens, when we 
run our dag manually, using trigger dag from ui or cli. Scheduler run dag at 
the beginning of the hour too and we have 2 dag runs (manual and scheduled) at 
the moment.
I think it looks like a bug. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to