Replies: 7 comments 3 replies
-
Can you please take a look at all the logs (including triggerer log) and extracts the parts (and copy here) for the time when you are trying to clear the task? Especially if you see the logs showign something when you do and and referring to the task in question. That would help enormously in analysing the problems. |
Beta Was this translation helpful? Give feedback.
-
Job logs:
Triggerer - no logs immediately after clearing, eventually:
scheduler
|
Beta Was this translation helpful? Give feedback.
-
@andrewgodwin -> does it ring a bell? |
Beta Was this translation helpful? Give feedback.
-
If it helps, the job logs are all from the |
Beta Was this translation helpful? Give feedback.
-
The triggerer should drop the task as soon as it moves out of state DEFERRED, which naturally clearing should do, so I'm not quite sure what's going on here. (not hitting |
Beta Was this translation helpful? Give feedback.
-
Useful to know, I'd assumed that clearing a deferred task would restart it totally. |
Beta Was this translation helpful? Give feedback.
-
Yes, it is meant to, but the nature of how Deferred was implemented means there's one additional field to clear that we may not have got cleared everywhere that restarts/retry/etc. are needed. |
Beta Was this translation helpful? Give feedback.
-
On Airflow version 2.3.3:
A task has become stuck in the deferred state.
Upon clearing the task, nothing happens.
Upon marking the task as a success/failure, the task is marked correctly, but after clearing it immediately goes back to deferred with the same retry number.
I'd expect the task to restart it's execution entirely when cleared.
I haven't raised a bug as I don't have any idea what to do to reproduce this - this hasn't happened to previous deferred tasks I've tried to clear
.
Beta Was this translation helpful? Give feedback.
All reactions