You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Alex Guziel (JIRA)" <ji...@apache.org> on 2017/07/14 23:38:00 UTC

[jira] [Resolved] (AIRFLOW-1059) Reset_state_for_orphaned_task should operate in batch for the scheduler

     [ https://issues.apache.org/jira/browse/AIRFLOW-1059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Guziel resolved AIRFLOW-1059.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.0

Issue resolved by pull request #2205
[https://github.com/apache/incubator-airflow/pull/2205]

> Reset_state_for_orphaned_task should operate in batch for the scheduler
> -----------------------------------------------------------------------
>
>                 Key: AIRFLOW-1059
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1059
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Alex Guziel
>            Assignee: Alex Guziel
>             Fix For: 1.9.0
>
>
> Scheduler startup is very slow due to resetting state making a query for each dag run. We should be able to do this in a constant number of queries which will increase scheduler startup time significantly.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)