[
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)