Skip to content
代码片段 群组 项目
未验证 提交 62217e67 编辑于 作者: Alper Akgun's avatar Alper Akgun 提交者: GitLab
浏览文件

Merge branch...

Merge branch 'overdue-finalize-background-migration--backfill-ml-candidate-params-project-id' into 'master' 

Finalize migration BackfillMlCandidateParamsProjectId

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/183109



Merged-by: default avatarAlper Akgun <aakgun@gitlab.com>
Approved-by: default avatarAlper Akgun <aakgun@gitlab.com>
Reviewed-by: default avatarAlper Akgun <aakgun@gitlab.com>
Co-authored-by: default avatargdk <gdk@example.com>
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
...@@ -5,4 +5,4 @@ feature_category: mlops ...@@ -5,4 +5,4 @@ feature_category: mlops
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/165336 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/165336
milestone: '17.4' milestone: '17.4'
queued_migration_version: 20240906131415 queued_migration_version: 20240906131415
finalized_by: # version of the migration that finalized this BBM finalized_by: '20250302231854'
# frozen_string_literal: true
class FinalizeHkBackfillMlCandidateParamsProjectId < Gitlab::Database::Migration[2.2]
milestone '17.10'
disable_ddl_transaction!
restrict_gitlab_migration gitlab_schema: :gitlab_main_cell
def up
ensure_batched_background_migration_is_finished(
job_class_name: 'BackfillMlCandidateParamsProjectId',
table_name: :ml_candidate_params,
column_name: :id,
job_arguments: [:project_id, :ml_candidates, :project_id, :candidate_id],
finalize: true
)
end
def down; end
end
200a96d5653c314ed9005d8e8027b7ec378ddd2ce76156c9fba450fe741881dd
\ No newline at end of file
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册