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

   Pretty sure we are taking a stronger lock than we need to.
   
   Taking the weaker lock FOR KEY SHARE UPDATE allows other tables to do 
concurrent inserts with fks to the locked row.  And since, as far as i know, 
we're not ever going to change the key of the locked row, it should always be 
safe to do this.
   
   cc @seanmuth @nsAstro 


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