Skip to content

Hashed Storage: allow migration to be retried in partially migrated projects

Gabriel Mazetto requested to merge 53700-hashed-storagemigration into master

What does this MR do?

Allows project.migrate_to_hashed_storage! to execute when there is still a partially migrated project (storage_version: 1).

Previously we were checking if the project had migrated to any project version and prevented re-running the upgrade code. But if the upgrade fails in the middle of it, there is no way to re-execute.

What are the relevant issue numbers?

gitlab-org/gitlab-ce#53700

Does this MR meet the acceptance criteria?

Closes #53700 (closed)

Edited by Gabriel Mazetto

Merge request reports