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: scheduler and triggerer probe performance for airflow <2.6.0 #853

Conversation

thesuperzapper
Copy link
Member

What issues does your PR fix?

What does your PR do?

Previously, we were not correctly filtering on the job_type field in the liveness probes for the Scheduler and Triggerer in Airflow versions older than 2.6.0.

This caused each probe to scan the entire job table, which is obviously very slow!

Checklist

For all Pull Requests

Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
@thesuperzapper thesuperzapper added this to the airflow-8.9.0 milestone Apr 25, 2024
@thesuperzapper thesuperzapper added the status/ready-to-merge status - this will be merged into next release label Apr 28, 2024
@thesuperzapper thesuperzapper changed the title fix: scheduler and triggerer liveness probe performance for <2.6.0 fix: scheduler and triggerer probe performance for airflow <2.6.0 May 1, 2024
@thesuperzapper thesuperzapper merged commit 0a75a67 into airflow-helm:main May 1, 2024
3 checks passed
@thesuperzapper thesuperzapper deleted the fix-liveness-probe-performance branch May 1, 2024 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/ready-to-merge status - this will be merged into next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

liveness probe queries causing high database IO usage on airflow 2.5.3
1 participant