Skip to content

Add helper to ensure batched background migration is finished

What does this MR do?

After some discussion we decided that we need a migration helper to check if batched background migration for given configuration is finished and raise an error if it is not. We plan to use it when before doing the final step in the PK migration process (swapping the columns).

This MR adds such helper.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to #292874 (closed)

Edited by Krasimir Angelov

Merge request reports