Deleting task instance from UI deletes Dag Run too #16896
Labels
affected_version:2.1
Issues Reported for 2.1
area:webserver
Webserver related Issues
kind:bug
This is a clearly a bug
priority:medium
Bug that should be fixed before next release but would not block a release
Milestone
Apache Airflow version:
2.1.0, also 2.1.1
Kubernetes version (if you are using kubernetes) (use
kubectl version
):1.19.6
Environment:
On-premise Cluster
Official Docker Image with Python 3.8
What happened:
When working in '/taskinstance/list/' view and clicking on 'Delete record' as an admin. It deletes not only task instance but also whole Dag run.
What you expected to happen:
To be honest not sure, probably task to be requeued/cleared or warning that dag will be removed too.
How to reproduce it:
Any running dag, simply removing task instance trough UI
Anything else we need to know:
In backend DB (Postgres12), DAG run record is not deleted. but dag run's dag_id and execution_date was set to
How often does this problem occur? Once? Every time etc?
Every time
The text was updated successfully, but these errors were encountered: