Airflow & DAGs · Architecture & Scalability

What are Zombie and Undead tasks?

Hardzombieundeadreliability

Interview question

What are Zombie and Undead tasks in Airflow?

How to answer

The short answer

These describe mismatches between what Airflow thinks is running and what is actually running.

Zombie

Airflow thinks the task is RUNNING, but the worker/process is dead or not heartbeating. Airflow detects that via heartbeats and cleans up.

Undead

The flip side: a process may still be running while Airflow believes the task should have stopped.

In short: Airflow says RUNNING, actual process DEAD → zombie. Airflow has to notice and fix those mismatches.