Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleting task instance from UI deletes Dag Run too #16896

Closed
jsanko9 opened this issue Jul 8, 2021 · 2 comments
Closed

Deleting task instance from UI deletes Dag Run too #16896

jsanko9 opened this issue Jul 8, 2021 · 2 comments
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

Comments

@jsanko9
Copy link

jsanko9 commented Jul 8, 2021

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

image

@jsanko9 jsanko9 added the kind:bug This is a clearly a bug label Jul 8, 2021
@boring-cyborg
Copy link

boring-cyborg bot commented Jul 8, 2021

Thanks for opening your first issue here! Be sure to follow the issue template!

@jedcunningham jedcunningham added the area:webserver Webserver related Issues label Jul 8, 2021
@eladkal eladkal added the affected_version:2.1 Issues Reported for 2.1 label Jul 11, 2021
@kaxil kaxil added this to the Airflow 2.1.3 milestone Jul 15, 2021
@kaxil kaxil added the priority:medium Bug that should be fixed before next release but would not block a release label Jul 15, 2021
@kaxil kaxil modified the milestones: Airflow 2.1.3, Airflow 2.2 Aug 20, 2021
@kaxil
Copy link
Member

kaxil commented Oct 6, 2021

closed by #17719

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants