StewartThomson opened a new issue #18487:
URL: https://github.com/apache/airflow/issues/18487


   ### Apache Airflow version
   
   2.1.4 (latest released)
   
   ### Operating System
   
   Amazon Linux 2
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Docker-Compose
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
   Say, for example, you have a DAG that has a sensor. This DAG is set to run 
every minute, with max_active_runs=1, and catchup=False.
   
   This sensor may pass 1 or more times per day.
   
   Previously, when this sensor is satisfied once per day, there is 1 DAG run 
for that given day. When the sensor is satisfied twice per day, there are 2 DAG 
runs for that given day.
   
   With the new queued dag run state, new dag runs will be queued for each 
minute (up to AIRFLOW__CORE__MAX_QUEUED_RUNS_PER_DAG), this seems to be against 
the spirit of catchup=False.
   
   This means that if a dag run is waiting on a sensor for longer than the 
schedule_interval, it will still in effect 'catchup' due to the queued dag runs.
   
   ### What you expected to happen
   
   _No response_
   
   ### How to reproduce
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


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