You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Feng Lu (JIRA)" <ji...@apache.org> on 2018/08/10 14:46:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16576372#comment-16576372 ]
Feng Lu commented on AIRFLOW-1059:
----------------------------------
[~saguziel] Could you elaborate a bit more why orphaned tasks from backfilled dagruns can't be re-enqueued?
> 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
> Priority: Major
> 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
(v7.6.3#76005)