File: deduplicate_lfs_objects_projects.yml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (18 lines) | stat: -rw-r--r-- 969 bytes parent folder | download
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