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

Adding mysql index hint to use index on task_instance.state in critical section query #25673

Merged

Conversation

michaelmicheal
Copy link
Contributor

@michaelmicheal michaelmicheal commented Aug 11, 2022

Fixes #25627


To resolve this issue, I added a MySQL index hint on the Scheduler critical section query to ensure the ti_state index is used to filter scheduled tasks.

@boring-cyborg boring-cyborg bot added the area:Scheduler Scheduler or dag parsing Issues label Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Scheduler Scheduler or dag parsing Issues type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MySQL Not Using Correct Index for Scheduler Critical Section Query
4 participants