github-actions[bot] opened a new pull request, #75652: URL: https://github.com/apache/airflow/pull/75652
A deadlock is transient and the task would succeed on a retry, but the catch-all around the state update marked the task instance FAILED, which is permanent. The Task SDK client already retries 5xx responses from the Execution API, so letting the deadlock surface as a 500 gives the worker that retry. Only deadlocks are treated this way. Recognising other lock errors would change how existing callers of is_lock_not_available_error behave. (cherry picked from commit 840d3a41c633abb1d5d97a8791af066b14b2a069) Co-authored-by: Wei Lee <[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]
