Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6268

Superfluous ajax calls when no dags returned in search

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 2.0.0, 1.10.6
    • Fix Version/s: 1.10.7
    • Component/s: ui
    • Labels:
      None

      Description

      When a search for a dag returns no results the system still makes 4 ajax calls to: task_stats, dag_stats, last_dagruns and blocked which by default return the entire state of the system which is discarded and not used.

      On systems with a large amount of dags and task meta data this results in an incredibly slow loading page.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                robinedwards Robin Edwards
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: