[
https://issues.apache.org/jira/browse/AIRFLOW-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Tallman updated AIRFLOW-647:
--------------------------------
Description:
"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, which will fix DAGs that relied on the list of dates returned.
was:
"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.
> 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, which will fix DAGs that relied on the list of dates returned.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)