Skip to content

Airflow tasks went disappear after airflow db clean #32596

@lihan

Description

@lihan

Apache Airflow version

Other Airflow 2 version (please specify below)

What happened

Airflow version: 2.6.2

  • Did a Airflow meatabase clean up using airflow db clean --clean-before-timestamp ...
  • Tasks instances went missing (see below)
  • Deleting the dag run, airflow would re-trigger the missing dag run
    • After the first task was completed, all tasks instances are gone again.
image

What you think should happen instead

No response

How to reproduce

Not sure if this can be reproduced reliably

Operating System

Ubuntu 22.04

Versions of Apache Airflow Providers

No response

Deployment

Other Docker-based deployment

Deployment details

No response

Anything else

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Can't ReproduceThe problem cannot be reproducedarea:CLIarea:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yetpending-responsestaleStale PRs per the .github/workflows/stale.yml policy file

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions