Commit 07ba6189 authored by Patrick Bajao's avatar Patrick Bajao

Consume remaining LinkLFsObjectsProjects jobs

In 12.9, a background migration to link LFS objects from source to
forks has been added.

As part of cleaning up process described in
https://docs.gitlab.com/ee/development/background_migrations.html#cleaning-up,
to ensure that all jobs ran and records were created, this post
deploy migration will run the `LinkLfsObjectsProjects` background
migration job synchronously via
`Gitlab::BackgroundMigration.steal`.
parent 643567db
---
title: Consume remaining LinkLFsObjectsProjects jobs
merge_request: 27558
author:
type: other
# frozen_string_literal: true
class ConsumeRemainingLinkLfsObjectsProjectsJobs < ActiveRecord::Migration[6.0]
DOWNTIME = false
disable_ddl_transaction!
def up
Gitlab::BackgroundMigration.steal('LinkLfsObjectsProjects')
end
def down
# no-op as there is no need to do anything if this gets rolled back
end
end
......@@ -12901,6 +12901,7 @@ COPY "schema_migrations" (version) FROM STDIN;
20200318164448
20200318165448
20200318175008
20200319071702
20200319123041
20200319203901
20200320112455
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment