github-actions[bot] opened a new pull request, #65137: URL: https://github.com/apache/airflow/pull/65137
* Add fast-path heartbeat UPDATE to avoid row lock in the common case The ti_heartbeat endpoint now attempts a single guarded UPDATE (matching id, state, hostname, and pid) before falling back to the existing SELECT FOR UPDATE path. When the task is still running on the expected host this returns immediately, eliminating the row lock and a round trip for the vast majority of heartbeat calls. * fixup! Add fast-path heartbeat UPDATE to avoid row lock in the common case * Apply suggestions from code review Co-authored-by: Copilot <[email protected]> * Fix static checks * fixup! Fix static checks --------- (cherry picked from commit c97d1a510253db727d9e2bc237ce04e537341872) Co-authored-by: Ephraim Anierobi <[email protected]> Co-authored-by: Copilot <[email protected]> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
