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

   > I am OK with having some code settings that can help limit the pausing 
options on specific dag (should DAG author wants it) but as a general concept I 
don't think it should be government by code (DAG author code).
   > 
   > Today you can pause/unpause at will. We should have the same thing with 
the new option. Effectively this means that the UI toggle should be changed 
from 2 mode (paused, unpaused) to 3 mode (paused, unpaused, drain tasks -> 
paused) where drain eventually is switched to paused when the drain is 
completeled.
   > 
   > WDYT?
   
   Changing type of **paused** from Boolean to String, will result in a of 
breaking changes for minor release.
   although we can add another check or UI element and bind with  
**drain_on_pause**, so users can handle it from UI as well,
   if they don't want. and  **drain_on_pause** can be used for default 
behaviour similar to **is_paused_upon_creation**


-- 
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