You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Ash Berlin-Taylor (JIRA)" <ji...@apache.org> on 2019/04/15 09:45:00 UTC

[jira] [Resolved] (AIRFLOW-647) Restore dag.get_active_runs(), without the DB updates

     [ https://issues.apache.org/jira/browse/AIRFLOW-647?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ash Berlin-Taylor resolved AIRFLOW-647.
---------------------------------------
    Resolution: Fixed

> 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: 1.8.0
>            Reporter: Ben Tallman
>            Assignee: Ben Tallman
>            Priority: Major
>             Fix For: 1.8.0
>
>
> "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
(v7.6.3#76005)