Skip to content
Snippets Groups Projects
Verified Commit e53104fe authored by Tiger Watson's avatar Tiger Watson Committed by GitLab
Browse files

Merge branch...

Merge branch 'overdue-finalize-background-migration--backfill-external-status-checks-protected-branches-project-id' into 'master' 

Finalize migration BackfillExternalStatusChecksProtectedBranchesProjectId

See merge request !177107



Merged-by: default avatarTiger Watson <twatson@gitlab.com>
Approved-by: default avatarJohn Mason <9717668-johnmason@users.noreply.gitlab.com>
Approved-by: Pavel Shutsin's avatarPavel Shutsin <pshutsin@gitlab.com>
Approved-by: default avatarTiger Watson <twatson@gitlab.com>
Co-authored-by: Nate Rosandich's avatarnrosandich <nrosandich@gitlab.com>
parents 0706d4af 93a0ec78
No related branches found
No related tags found
3 merge requests!181325Fix ambiguous `created_at` in project.rb,!179611Draft: Rebase CR approach for zoekt assignments,!177107Finalize migration BackfillExternalStatusChecksProtectedBranchesProjectId
Pipeline #1633418335 passed
---
migration_job_name: BackfillExternalStatusChecksProtectedBranchesProjectId
description: Backfills sharding key `external_status_checks_protected_branches.project_id` from `external_status_checks`.
description: Backfills sharding key `external_status_checks_protected_branches.project_id`
from `external_status_checks`.
feature_category: compliance_management
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/156317
milestone: '17.2'
queued_migration_version: 20240613153409
finalized_by: # version of the migration that finalized this BBM
finalized_by: '20250114232802'
# frozen_string_literal: true
class FinalizeBackfillExternalStatusChecksProtectedBranchesProjectId < Gitlab::Database::Migration[2.2]
milestone '17.8'
disable_ddl_transaction!
restrict_gitlab_migration gitlab_schema: :gitlab_main_cell
def up
ensure_batched_background_migration_is_finished(
job_class_name: 'BackfillExternalStatusChecksProtectedBranchesProjectId',
table_name: :external_status_checks_protected_branches,
column_name: :id,
job_arguments: [:project_id, :external_status_checks, :project_id, :external_status_check_id],
finalize: true
)
end
def down; end
end
017ab37c86c7f6bedad5d2b4338603f197c44d1227cadd273ea40c92cea369e2
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment