What is the difference between airflow trigger rule "all_done" and "all_success"?

samarth picture samarth · Jan 16, 2017 · Viewed 19.2k times · Source

One of the requirement in the workflow I am working on is to wait for some event to happen for given time, if it does not happen mark the task as failed still the downstream task should be executed.

I am wondering if "all_done" means all the dependency tasks are done no matter if they have succeeded or not.

Answer

Sheena picture Sheena · Feb 7, 2017

https://airflow.incubator.apache.org/concepts.html#trigger-rules

all_done means all operations have finished working. Maybe they succeeded, maybe not.

all_success means all operations have finished without error

So your guess is correct