https://prefect.io logo
Title
z

Zach

06/08/2020, 4:42 PM
Is there a way to configure automatic flow retries? I am not aware of one, but just wanted to make sure
👀 2
n

nicholas

06/08/2020, 5:00 PM
Hi @Zach - there's not an out of the box way to retry an entire flow, but task retries will give you more granular control of the portions of your pipeline you may want/need to retry and those that you wouldn't want to. If you really need to retry a flow, one way I can think to do that would be to have a FlowRunTask with a trigger (maybe
some_failed
?) that would kick off another run of the same flow.
z

Zach

06/08/2020, 7:34 PM
The task retries only work if a task fails. If the flow fails in a way such that in doesn't continue (such as if it gets marked failed by the Zombie Killer) then the tasks don't retry, correct?
n

nicholas

06/08/2020, 7:50 PM
The zombie killer will only mark tasks as failed (rather than the flow as a whole). An upcoming Cloud release will allow tasks with retries to implement retry logic even when they're marked by the zombie killer (should be coming very soon!)