https://prefect.io logo
Title
s

Shiyu Gan

04/06/2022, 10:25 PM
What is the difference between lazarus and zombie killer?
k

Kevin Kho

04/06/2022, 10:30 PM
They are just separate services. Lazarus being responsible for restarting, and zombie killer responsible for marking stuff as failed. I don’t think you can look at the services and think why they are split or together because these were open sourced from Cloud but the Cloud versions may still have added functionality
s

Shiyu Gan

04/06/2022, 10:33 PM
If zombie killer marks a task as failed, will the "failed" status also be communicated/sent to the client flow/task?
k

Kevin Kho

04/06/2022, 10:34 PM
No because Zombie Killer marks things as Failed precisely because communication was lost, so it’s a direct change of state on the backend. Does that make sense?
s

Shiyu Gan

04/06/2022, 11:46 PM
It does. So what happens if the "failed" task actually recovers and completes its unit of work when ZK already marked it failed? Will the existence of a "Done" (on client side) and "Failed" (on cloud) cause inconsistency/conflict?
k

Kevin Kho

04/06/2022, 11:48 PM
When that task completes and tries to update state it will run into an error saying the state cant be modified
s

Shiyu Gan

04/07/2022, 12:00 AM
u rock!
Does ZombieKiller only handle Tasks or does it handle Flow as well?
k

Kevin Kho

04/07/2022, 12:44 AM
Ah that’s a good thought because I believe it’s Task but Lazarus can also trigger if the Flow never starts (gets stuck waiting for resources)