You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Jarek Potiuk (Jira)" <ji...@apache.org> on 2019/10/28 08:28:00 UTC

[jira] [Created] (AIRFLOW-5796) Error in SubdagOperator when resetting DB

Jarek Potiuk created AIRFLOW-5796:
-------------------------------------

             Summary: Error in SubdagOperator when resetting DB
                 Key: AIRFLOW-5796
                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5796
             Project: Apache Airflow
          Issue Type: Improvement
          Components: operators
    Affects Versions: 2.0.0, 1.10.6
            Reporter: Jarek Potiuk


There is an error when resetting DB. The migration here:

*cc1e65623dc7_add_max_tries_column_to_task_instance.py*.

Which reads DagBag and when reading the DagBag "cannot import tests/dags/test_clear_subdag.py" with the root cause:

*psycopg2.ProgrammingError: relation "slot_pool" does not exist*
*LINE 2: FROM slot_pool*

The problem is that SubDagOperator relies on slot_pool relation being present but it's not yet ready (because it is added in one of the later migrations).

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)