Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a bug where scheduler heartrate parameter were not used #37992

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Mar 8, 2024

Since #30255 scheduler heartrate has not been properly calculated. We missed the check for SchedulerJob type and setting heartrate value from scheduler_health_check_threshold.

This PR fixes it.

Fix: #37971


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@potiuk potiuk force-pushed the fix-heartrate-for-scheduler branch from 39ecd33 to 4ef00bd Compare March 8, 2024 11:51
@potiuk
Copy link
Member Author

potiuk commented Mar 8, 2024

I actually tracked it down wrongly - it's there since 2.6.0 and #30255

Sinc apache#30255 scheduler heartrate has not been properly calculated.
We missed the check for SchedulerJob type and setting heartrate
value from `scheduler_health_check_threshold`.

This PR fixes it.

Fix: apache#37971
@potiuk potiuk force-pushed the fix-heartrate-for-scheduler branch from 4ef00bd to 4af9e20 Compare March 8, 2024 12:19
@potiuk potiuk merged commit 01e40ab into apache:main Mar 8, 2024
56 checks passed
@potiuk potiuk deleted the fix-heartrate-for-scheduler branch March 8, 2024 13:31
@eladkal eladkal added this to the Airflow 2.9.0 milestone Mar 8, 2024
@eladkal eladkal added the type:bug-fix Changelog: Bug Fixes label Mar 8, 2024
howardyoo pushed a commit to howardyoo/airflow that referenced this pull request Mar 18, 2024
…7992)

Sinc apache#30255 scheduler heartrate has not been properly calculated.
We missed the check for SchedulerJob type and setting heartrate
value from `scheduler_health_check_threshold`.

This PR fixes it.

Fix: apache#37971
@potiuk potiuk modified the milestones: Airflow 2.9.0, Airflow 2.8.4 Mar 18, 2024
jedcunningham pushed a commit that referenced this pull request Mar 18, 2024
Sinc #30255 scheduler heartrate has not been properly calculated.
We missed the check for SchedulerJob type and setting heartrate
value from `scheduler_health_check_threshold`.

This PR fixes it.

Fix: #37971
(cherry picked from commit 01e40ab)
howardyoo pushed a commit to howardyoo/airflow that referenced this pull request Mar 31, 2024
…7992)

Sinc apache#30255 scheduler heartrate has not been properly calculated.
We missed the check for SchedulerJob type and setting heartrate
value from `scheduler_health_check_threshold`.

This PR fixes it.

Fix: apache#37971
utkarsharma2 pushed a commit to astronomer/airflow that referenced this pull request Apr 22, 2024
…7992)

Sinc apache#30255 scheduler heartrate has not been properly calculated.
We missed the check for SchedulerJob type and setting heartrate
value from `scheduler_health_check_threshold`.

This PR fixes it.

Fix: apache#37971
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Scheduler including HA (high availability) scheduler type:bug-fix Changelog: Bug Fixes
Projects
None yet
4 participants