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/06/11 09:58:01 UTC

[jira] [Resolved] (AIRFLOW-4759) Improve performance of /success endpoint

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

Ash Berlin-Taylor resolved AIRFLOW-4759.
----------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.10.4

> Improve performance of /success endpoint
> ----------------------------------------
>
>                 Key: AIRFLOW-4759
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-4759
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: webserver
>    Affects Versions: 1.10.3
>            Reporter: Josh Carp
>            Assignee: Josh Carp
>            Priority: Minor
>             Fix For: 1.10.4
>
>
> Setting a dagrun to success or failure calls `set_state` for each task in the dag, running multiple database queries for each one. We can reduce the number of queries, and improve performance for the associated endpoints, by setting the states of all relevant tasks in the same query.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)