You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ben Tallman (JIRA)" <ji...@apache.org> on 2016/11/23 00:44:58 UTC
[jira] [Created] (AIRFLOW-647) Restore dag.get_active_runs(),
without the DB updates
Ben Tallman created AIRFLOW-647:
-----------------------------------
Summary: Restore dag.get_active_runs(), without the DB updates
Key: AIRFLOW-647
URL: https://issues.apache.org/jira/browse/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
(v6.3.4#6332)