You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "patrick barrington (Jira)" <ji...@apache.org> on 2019/08/20 17:32:00 UTC

[jira] [Commented] (AIRFLOW-5081) max_active_runs doesn't work correct

    [ https://issues.apache.org/jira/browse/AIRFLOW-5081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911573#comment-16911573 ] 

patrick barrington commented on AIRFLOW-5081:
---------------------------------------------

Same issue we are seeing on 1.10.3

> 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
>            Priority: Major
>
> 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
(v8.3.2#803003)