airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bolke de Bruin (JIRA)" <>
Subject [jira] [Updated] (AIRFLOW-1019) active_dagruns shouldn't include paused DAGs
Date Mon, 03 Apr 2017 21:11:41 GMT


Bolke de Bruin updated AIRFLOW-1019:
    Priority: Critical  (was: Blocker)

> active_dagruns shouldn't include paused DAGs
> --------------------------------------------
>                 Key: AIRFLOW-1019
>                 URL:
>             Project: Apache Airflow
>          Issue Type: Bug
>            Reporter: Dan Davydov
>            Priority: Critical
>             Fix For: 1.8.1
> Since 1.8.0 Airflow resets orphaned tasks (tasks that are in the DB but not in the executor's
memory). The problem is that Airflow counts dagruns in paused DAGs as running as long as the
dagruns state is running. Instead we should join against non-paused DAGs everywhere we calculate
active dagruns (e.g. in _process_task_instances in the Scheduler class in If there
are enough paused DAGs it brings the scheduler to a halt especially on scheduler restarts.

This message was sent by Atlassian JIRA

View raw message