You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/05/29 21:36:00 UTC

[jira] [Commented] (AIRFLOW-3160) Load latest_dagruns asynchronously

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

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

aoen commented on pull request #5339: [AIRFLOW-3160] (Unrevert) Load latest_dagruns asynchronously
URL: https://github.com/apache/airflow/pull/5339
 
 
   Unreverting AIRFLOW-3160 which was reverted on suspicious of breaking CI without the clear blame of this PR, and the logs are gone now. A lot of the test code has changed significantly so it's possible that even if an issue was caused by this PR it has since been fixed. Twitter has been running for several months now with this patch with no issues.
   
   Here is the link to the original PR: https://github.com/apache/airflow/pull/4005
   Here is the link to the revert PR: https://github.com/apache/airflow/pull/4145
   
   Tested on a local webserver after rebasing the unrevert, and no issues.
   
   I am going to kick off 10 builds in Travis to see if the issue reproduces, and watch the master build for this issue for a couple of days once this is merged. Here are my builds: https://travis-ci.org/aoen/incubator-airflow/builds
   
   @ashb 
 
----------------------------------------------------------------
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:
users@infra.apache.org


> Load latest_dagruns asynchronously 
> -----------------------------------
>
>                 Key: AIRFLOW-3160
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3160
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: webserver
>    Affects Versions: 1.10.0
>            Reporter: Dan Davydov
>            Assignee: Dan Davydov
>            Priority: Major
>             Fix For: 2.0.0
>
>
> The front page loads very slowly when the DB has latency because one blocking query is made per DAG against the DB.
>  
> The latest dagruns should be loaded asynchronously and in batch like the other UI elements that query the database.



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