Feature request · Self-hosting & upgrades · Blocks work
Drain a DAG: disable only after active runs finish
1 source thread · first seen 2022-03
Summary
Disabling a DAG stops it midway, which is a problem during upgrades; a drain option is requested to let active runs finish first.
- Affects
- Operators upgrading Airflow environments
- Workaround
- Set all DAG schedules to None before upgrading, then restore them
Evidence
Excerpts are copied word for word from the source; follow the link to read it in full.
“if you disable a DAG, it stops the DAG midway”