Skip to content
代码片段 群组 项目
提交 0187d672 编辑于 作者: gdk's avatar gdk 提交者: Bishwa Hang Rai
浏览文件

Finalize migration BackfillMembersRequestAcceptedAt

This migration was finished at `2024-10-21 02:55:04 UTC`, you can confirm
the status using our
[batched background migration chatops commands](https://docs.gitlab.com/ee/development/database/batched_background_migrations.html#monitor-the-progress-and-status-of-a-batched-background-migration).
  To confirm it is finished you can run:

  ```
/chatops run batched_background_migrations status 1000730 --database main
```

The last time this background migration was triggered was in [db/post_migrate/20240920083708_queue_backfill_members_request_accepted_at.rb](https://gitlab.com/gitlab-org/gitlab/-/blob/master/db/post_migrate/20240920083708_queue_backfill_members_request_accepted_at.rb)

  You can read more about the process for finalizing batched background migrations in
https://docs.gitlab.com/ee/development/database/batched_background_migrations.html .

  As part of our process we want to ensure all batched background migrations have had at least one
[required stop](https://docs.gitlab.com/ee/development/database/required_stops.html)
to process the migration. Therefore we can finalize any batched background migration that was added before the
last required stop.

This change was generated by
[gitlab-housekeeper](https://gitlab.com/gitlab-org/gitlab/-/tree/master/gems/gitlab-housekeeper)
using the Keeps::OverdueFinalizeBackgroundMigration keep.

To provide feedback on your experience with `gitlab-housekeeper` please create an issue with the
label ~"GitLab Housekeeper" and consider pinging the author of this keep.

Changelog: other
上级 dbefcba3
未找到相关分支
未找到相关标签
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
--- ---
migration_job_name: BackfillMembersRequestAcceptedAt migration_job_name: BackfillMembersRequestAcceptedAt
description: Backfills `request_accepted_at` column in the `members` table to `created_at` column value for all existing records. description: Backfills `request_accepted_at` column in the `members` table to `created_at`
column value for all existing records.
feature_category: groups_and_projects feature_category: groups_and_projects
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/166812 introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/166812
milestone: '17.5' milestone: '17.5'
queued_migration_version: 20240920083708 queued_migration_version: 20240920083708
finalized_by: finalized_by: '20250310231646'
# frozen_string_literal: true
class FinalizeHkBackfillMembersRequestAcceptedAt < Gitlab::Database::Migration[2.2]
milestone '17.10'
disable_ddl_transaction!
restrict_gitlab_migration gitlab_schema: :gitlab_main
def up
ensure_batched_background_migration_is_finished(
job_class_name: 'BackfillMembersRequestAcceptedAt',
table_name: :members,
column_name: :id,
job_arguments: [],
finalize: true
)
end
def down; end
end
fa5f808ad39790efab5b5b97ae02d967257c48614bb4a38ff30be1debd66965c
\ No newline at end of file
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
想要评论请 注册