You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Tylar Murray (JIRA)" <ji...@apache.org> on 2019/08/05 14:59:00 UTC

[jira] [Updated] (AIRFLOW-5112) DAGRuns created by `backfill --mark_success` erroneously cleared by `clear --only_failed`

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

Tylar Murray updated AIRFLOW-5112:
----------------------------------
    Description: 
I may be the only person affected by this weird bug, but here it is.

-------------------------------------
 # How to recreate:

```

airflow backfill --mark_success my_dag

airflow clear --only_failed my_dag

```

-------------------------------------
 # Symptoms: 

"success" DAGRuns that were created are cleared but the tasks are not. 

The DAGRuns stay "running" forever.

The 2nd DAGRun in this treeview screenshot attached is an example of this.

-------------------------------------

 

For me it's a minor inconvenience that might be an easy fix.

  was:
I may be the only person affected by this weird bug, but here it is.

-------------------------------------

# How to recreate:

```

airflow backfill --mark_success my_dag

airflow clear --only_failed my_dag

```

-------------------------------------

# Symptoms: 

"success" DAGRuns that were created are cleared but the tasks are not. 

The DAGRuns stay "running" forever.

The 2nd DAGRun in this treeview screenshot is an example of this:

!image-2019-08-05-14-55-15-998.png!

-------------------------------------

 

For me it's a minor inconvenience that might be an easy fix.


> DAGRuns created by `backfill --mark_success` erroneously cleared by `clear --only_failed`
> -----------------------------------------------------------------------------------------
>
>                 Key: AIRFLOW-5112
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-5112
>             Project: Apache Airflow
>          Issue Type: Bug
>          Components: backfill, DagRun, database
>    Affects Versions: 1.10.2
>         Environment: CentOS 7, CeleryExec
>            Reporter: Tylar Murray
>            Priority: Minor
>              Labels: EasyFix, backfill, dagrun, database, easy-fix
>         Attachments: image-2019-08-05-14-55-10-024.png
>
>
> I may be the only person affected by this weird bug, but here it is.
> -------------------------------------
>  # How to recreate:
> ```
> airflow backfill --mark_success my_dag
> airflow clear --only_failed my_dag
> ```
> -------------------------------------
>  # Symptoms: 
> "success" DAGRuns that were created are cleared but the tasks are not. 
> The DAGRuns stay "running" forever.
> The 2nd DAGRun in this treeview screenshot attached is an example of this.
> -------------------------------------
>  
> For me it's a minor inconvenience that might be an easy fix.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)