alexbegg opened a new issue #19500: URL: https://github.com/apache/airflow/issues/19500
### Apache Airflow version 2.1.4 ### Operating System Debian GNU/Linux 10 (buster) ### Versions of Apache Airflow Providers _No response_ ### Deployment Astronomer ### Deployment details 2 schedulers and CeleryExecutor with 2 workers ### What happened I am receiving 2 identical SLA miss emails for each SLA miss due to having 2 schedulers running. I know the scheduler is what checks the SLA so I can understand why both schedules sent out a SLA miss, but if the 2 schedulers can know to not run the same task twice, it should also be robust enough to not send the SLA miss email twice. ### What you expected to happen I should only receive 1 SLA miss email ### How to reproduce Have 2 schedulers running and set up an SLA and set up a task to run past the SLA ### Anything else If I can get a better understanding of how multiple scheduler work side-by-side I can make a PR to fix this, but I come from the Airflow 1.10.x world and I am new to using 2 schedulers in Airflow. ### Are you willing to submit PR? - [X] 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]
