jscheffl commented on issue #22006:
URL: https://github.com/apache/airflow/issues/22006#issuecomment-2088880568

   I feel linke when going into details of database, DAG model, REST API, 
CLI... UI Experience this is a very complex thing. I agree that this option is 
useful.
   On the other hand scheduling logic today is already quite complex with a lot 
of queries. We should not risk draining performance with too many options.
   So taking this as a "valid use case" compared to the complexity added (also 
with risk of regression in scheduler performance) I'd rather opt for a global 
option. If the on/of must be separately evaluated per DAG, some queries in 
Scheduler will get really complex.
   
   I'd propose to have a global config which changes the behavior. Either the 
on/of is just draining DAGs (means: Do not start new DAG runs, still schedule 
all tasks irrespective of DAG state) or stop scheduling tasks and DAGs.
   
   I don't see a strong use case that in a single setup both use cases have a 
hard requirement to be supported in parallel.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to