Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-5112

DAGRuns created by `backfill --mark_success` erroneously cleared by `clear --only_failed`

    XMLWordPrintableJSON

    Details

      Description

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

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

      1. How to recreate:

      ```

      airflow backfill --mark_success my_dag

      airflow clear --only_failed my_dag

      ```

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

      1. 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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              7yl4r Tylar Murray
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: