-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Refactor _manage_executor_state by refreshing TIs in batch #36418
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
Refactor _manage_executor_state by refreshing TIs in batch #36418
Conversation
dirrao
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work. LGTM.
|
Nice one! @hussein-awala -> I just wonder if that could be the reason for #36454 |
|
It fails in main for MSSQL. We are planning to cherry-pick that one for 2.8.1 so I hope it's the last that requires MSSQL special treatment (I guess you need to open fixup PR and set |
…pache#36418)" This reverts commit 9d45db9. t#
…batch (apache#36418)" (apache#36500)" This reverts commit 72f43fc.
* Refactor _manage_executor_state by refreshing TIs in batch * Use a short key without retry number (cherry picked from commit 9d45db9)
related: #7370
This PR improves the performance of the method
_manage_executor_stateby fetching the state of all the running TIs in a single query instead of refreshing them one by one from the DB.