Skip to content

Remove default connection for WithLockRetries

What does this MR do and why?

Related to #350645 (closed)

Remove the default value for the :connection argument for WithLockRetries. This parameter should be explicitly passed to ensure we use the right database connection once we have multiple databases.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Patrick Bair

Merge request reports