uranusjr commented on code in PR #42082:
URL: https://github.com/apache/airflow/pull/42082#discussion_r1755490352
##########
airflow/utils/sqlalchemy.py:
##########
@@ -341,7 +341,7 @@ def with_row_locks(
kwargs["nowait"] = True
if skip_locked:
kwargs["skip_locked"] = True
- return query.with_for_update(**kwargs)
+ return query.with_for_update(**kwargs, key_share=True)
Review Comment:
Should this be configurable in the function? (i.e. add this as an argument
and defaulting to `True`)
--
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]