Replies: 1 comment
-
|
Short version: there's no active/standby HA for the dag-processor, and running two of them against the same DAGs isn't a redundancy setup, it's just duplicated parsing work. Two processors watching the same bundle both parse everything, and historically they'd even fight over deactivating each other's DAGs. The "make it horizontally scalable" ask is tracked in #32966, still open, and the PR that tried it got closed without merging. So no, not on the roadmap in the shipped-and-supported sense today. What you can do in Airflow 3 is shard by bundle. Split your DAGs into multiple bundles and run one processor per set:
For actual availability the practical answer is the boring one: run it under something that restarts it. On K8s a single-replica Deployment (or the official Helm chart's |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I am wondering whether running multiple airflow dag-processor instances (pods) for high availability is currently supported.
If this isn't currently supported, is HA for the dag-processor on the roadmap?
Thanks :)
Beta Was this translation helpful? Give feedback.
All reactions