Adding with_lock_retries to the gitlab:db:lock_writes rake task
What does this MR do and why?
We got a timeout when we were running this task on staging gitlab-com/gl-infra/production#7224 (comment 990010858) This is a MR to address the issue
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.