ashb opened a new pull request, #25312:
URL: https://github.com/apache/airflow/pull/25312

   In 2.2.0 we made TI.dag_run be automatically join-loaded, which is fine
   for most cases, but for `refresh_from_db` we don't need that (we don't
   access anything under ti.dag_run) and it's possible that when
   `lock_for_update=True` is passed we are locking more than we want to and
   _might_ cause deadlocks.
   
   Even if it doesn't, selecting more than we need is wasteful.


-- 
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]

Reply via email to