You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Dan Davydov (JIRA)" <ji...@apache.org> on 2018/01/09 22:02:00 UTC

[jira] [Created] (AIRFLOW-1980) Scheduler DB Queries Should be Batched

Dan Davydov created AIRFLOW-1980:
------------------------------------

             Summary: Scheduler DB Queries Should be Batched
                 Key: AIRFLOW-1980
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-1980
             Project: Apache Airflow
          Issue Type: Bug
          Components: scheduler
            Reporter: Dan Davydov


DB queries in the scheduler should be batched, since the larger ones can get quite big and cause lock wait timeouts.

One example is the queries in the _change_state_for_tis_without_dagrun function in jobs.py



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)