1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
|
---
migration_job_name: DeduplicateLfsObjectsProjects
description: >-
This migration deduplicates lfs_objects_projects by lfs_object_id, project_id and repository_type.
After the migration is finalized, we need to add a unique index on all three columns to ensure
data consistency since the unique validation already exists at the model level.
1) Originally introduced by https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154323
Re-enqueued because we found some duplicates were still being introduced
2) Originally re-enqueued in https://gitlab.com/gitlab-org/gitlab/-/merge_requests/167468
Re-enqueued a second time since we found some duplicates when repository_type is NULL
feature_category: source_code_management
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/167468
milestone: '17.5'
queued_migration_version: 20240927202948
finalize_after: '2024-10-17' # required upgrade stop due date
finalized_by: 20241031132007
|