jsanko9 opened a new issue #16896: URL: https://github.com/apache/airflow/issues/16896
**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 <null> How often does this problem occur? Once? Every time etc? Every time  -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
