Deferrable Operators leave task in strange state on kill #19929
Labels
affected_version:2.2
Issues Reported for 2.2
area:async-operators
AIP-40: Deferrable ("Async") Operators
area:core
kind:bug
This is a clearly a bug
Stale Bug Report
Apache Airflow version
2.2.2 (latest released)
Operating System
Debian GNU/Linux 10 (buster)
Versions of Apache Airflow Providers
No response
Deployment
Docker-Compose
Deployment details
What happened
When a task was killed while being executed by
Triggerer
process, there's no log available for this task after kill.Also,
on_kill
function of Operator isn't called.Later on, if the same task is started again, it finishes immediately, like it was continued after being deferred.
What you expected to happen
Task is killed:
Log is empty:
Log appears if I clear the task, the task instance is finished right away:
Log file content
How to reproduce
time_delta_async
as Failed while it's being deferredAnything else
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: