Skip to content

Deduplicate lock-retries helpers in migration modules

What does this MR do and why?

Closes #376739 (closed)

It removes one of duplicated with_lock_retries methods from migration helper modules.

At first, Gitlab::Database::SchemaHelpers#with_lock_retries was included in ConvertTableToFirstListPartition class. After removing it in !100169 (diffs), it's no longer in use.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

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 Leonardo da Rosa

Merge request reports