Scheduler not terminating in case of repeated DB errors. #43440
Labels
area:core
area:MetaDB
Meta Database related issues.
area:Scheduler
including HA (high availability) scheduler
good first issue
kind:bug
This is a clearly a bug
Apache Airflow version
2.10.2
If "Other Airflow 2 version" selected, which one?
No response
What happened?
Scheduler was running and launching tasks normally.
Suddenly there was auth error on database operations.
After few retries it exited scheduler loop but process was not terminated.
What you think should happen instead?
After shutting down all executor and dag_processer process should exit.
How to reproduce
Using hybrid executors with Celery, Kubernetes
Introduce db errors.
Operating System
Mac/Linux
Versions of Apache Airflow Providers
No response
Deployment
Other Docker-based deployment
Deployment details
No response
Anything else?
There are below logs repeated which indicates some threads not exited.
I see old PR for similar issue #28685
Should I change catch block to catch all exceptions?
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: