Apologies I have got the required status in-correct. If following this solution →
I need to change things from status 0 to 1.
gitlab-psql
gitlabhq_production=# select * from background_migration_jobs;
id | created_at | updated_at | status | class_name | arguments
----±------------------------------±------------------------------±-------±-------------------------------------------------------------------------±-----------------------------------------------------------------------
1 | 2020-12-13 21:19:49.442495+00 | 2020-12-13 21:19:53.65028+00 | 1 | Gitlab::Database::PartitioningMigrationHelpers::BackfillPartitionedTable | [1, 2574, “audit_events”, “audit_events_part_5fc467ac26”, “id”]
2 | 2021-09-04 20:26:53.000973+00 | 2021-09-04 20:26:53.000973+00 | 0 | BackfillJiraTrackerDeploymentType2 | [1, 678]
3 | 2021-09-04 20:44:18.585858+00 | 2021-09-04 20:44:26.297106+00 | 1 | Gitlab::Database::PartitioningMigrationHelpers::BackfillPartitionedTable | [18355, 35331, “web_hook_logs”, “web_hook_logs_part_0c5294f417”, “id”]
5 | 2021-09-04 20:44:34.899439+00 | 2021-09-04 20:48:35.411041+00 | 1 | BackfillNamespaceTraversalIdsRoots | [1, 362, 100]
6 | 2021-09-04 20:44:34.991474+00 | 2021-09-04 20:50:36.30535+00 | 1 | BackfillNamespaceTraversalIdsChildren | [38, 363, 100]
7 | 2022-09-15 13:28:05.092917+00 | 2022-09-15 13:28:05.092917+00 | 0 | BackfillDraftStatusOnMergeRequests | [330, 13471]
8 | 2022-09-15 13:28:06.734538+00 | 2022-09-15 13:31:13.930026+00 | 1 | MigrateMergeRequestDiffCommitUsers | [1, 40001]
9 | 2022-09-15 13:28:06.740887+00 | 2022-09-15 13:32:14.985722+00 | 1 | MigrateMergeRequestDiffCommitUsers | [40001, 80001]
(8 rows)
gitlabhq_production=#
So this means
7 | 2022-09-15 13:28:05.092917+00 | 2022-09-15 13:28:05.092917+00 | 0 | BackfillDraftStatusOnMergeRequests | [330, 13471]
and potentially
2 | 2021-09-04 20:26:53.000973+00 | 2021-09-04 20:26:53.000973+00 | 0 | BackfillJiraTrackerDeploymentType2 | [1, 678]
Need to change from status 0 to status 1.
How do I map these to the big list in gitlab-rake db:migrate:status ? Or does everything map back to there?
Best Regards,
Kevin.