Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.6.3
What happened?
Scheduler uses [scheduler]job_heartbeat_sec property for heartbeats instead of [scheduler]scheduler_heartbeat_sec.
In Airflow 2.5.3 [scheduler]scheduler_heartbeat_sec is used correctly.
The bug was introduced after refactoring of scheduler_job -> scheduler_job_runner.
This field is never used in the code:
|
heartrate: int = conf.getint("scheduler", "SCHEDULER_HEARTBEAT_SEC") |
What you think should happen instead?
No response
How to reproduce
- run Airflow
- set [scheduler]job_heartbeat_sec with the value greater than [scheduler]scheduler_health_check_threshold
- see warning message in Airflow UI that scheduler is not alive
Operating System
Ubuntu
Versions of Apache Airflow Providers
No response
Deployment
Google Cloud Composer
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
Other Airflow 2 version (please specify below)
If "Other Airflow 2 version" selected, which one?
2.6.3
What happened?
Scheduler uses [scheduler]job_heartbeat_sec property for heartbeats instead of [scheduler]scheduler_heartbeat_sec.
In Airflow 2.5.3 [scheduler]scheduler_heartbeat_sec is used correctly.
The bug was introduced after refactoring of scheduler_job -> scheduler_job_runner.
This field is never used in the code:
airflow/airflow/jobs/scheduler_job_runner.py
Line 153 in 1f5960a
What you think should happen instead?
No response
How to reproduce
Operating System
Ubuntu
Versions of Apache Airflow Providers
No response
Deployment
Google Cloud Composer
Deployment details
No response
Anything else?
No response
Are you willing to submit PR?
Code of Conduct