Hi everyone, I’m experiencing a strange behaviour from Prefect. A task in a flow is run twice. What should I do to mitigate this behaviour? Should I use retry_jitter_factor?
t
Timo Sugliani
09/14/2023, 5:23 PM
I'm interested into this too ... I have seen this happen with https://github.com/PrefectHQ/prefect-docker, this happened on very heavy load in my case, but we had this issue multiple times.
Here is how it looks like for me:
Are you seeing a similar kind of behavior's @Giacomo Chiarella ?
g
Giacomo Chiarella
09/15/2023, 6:16 AM
@Timo Sugliani yes, it is the same situation. It happens to me when a task fails. I have a retry number and a retry delay seconds but it happens when a task fails it gets re-run twice at the same time
t
Timo Sugliani
09/15/2023, 10:39 AM
Ok, for me it's a bit different the task did run successfully but is rerun another time, and i do not have any retries configured.
g
Giacomo Chiarella
09/15/2023, 10:44 AM
oh strange, I’ve never experienced something like that
t
Timo Sugliani
09/15/2023, 10:55 AM
yeah I had this happen under very heavy load on the server & worker side