airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Tallman (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-647) Restore dag.get_active_runs(), without the DB updates
Date Wed, 23 Nov 2016 00:44:58 GMT
Ben Tallman created AIRFLOW-647:

             Summary: Restore dag.get_active_runs(), without the DB updates
                 Key: AIRFLOW-647
             Project: Apache Airflow
          Issue Type: Bug
          Components: models
    Affects Versions: Airflow 1.8
            Reporter: Ben Tallman
            Assignee: Ben Tallman
             Fix For: Airflow 1.8

"AIRFLOW-128 Optimize and refactor process_dag" removed dag.get_active_runs(), as it both
returned a list of execution dates of a dags running dags, while also validated and updating
the states in the db.

This was done by splitting the getter into two methods (update_state and verify_integrity),
However, neither returns the list of execution dates, which have valid uses (we leverage them
in maintenance DAGs).

This bug fix PR will restore the getter and just return a list of execution dates.

This message was sent by Atlassian JIRA

View raw message