[ 
https://issues.apache.org/jira/browse/AIRFLOW-4759?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16869572#comment-16869572
 ] 

ASF GitHub Bot commented on AIRFLOW-4759:
-----------------------------------------

XD-DENG commented on pull request #5435: [AIRFLOW-4759] Don't error when 
marking sucessful run as failed
URL: https://github.com/apache/airflow/pull/5435
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to