You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2019/07/31 09:19: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=16896967#comment-16896967 ] 

Ash Berlin-Taylor commented on AIRFLOW-5081:
--------------------------------------------

Does the second active run come from trigger, or do you trigger it manually, and then later, whilst that is still running, the scheduler creates a second run?

> 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
(v7.6.14#76016)