Skip to content

Backfill LfsObjectsProject records of forks

Patrick Bajao requested to merge 55487-backfill-lfs-objects-projects-sql into master

What does this MR do?

To fix the behavior of existing forks, LfsObjectsProject records need to be backfilled. This is so we can remove the need to depend on the source when looking for LFS objects from forks.

Migration

Output:

== 20200210062432 ScheduleLinkLfsObjects: migrating ===========================
== 20200210062432 ScheduleLinkLfsObjects: migrated (0.0237s) ==================

Query Plans

Given the data above, there'll be 15 jobs that'll be enqueued that will be performed 2 minutes (this is the default interval we have) apart. That means the migration can be done in ~30 mins.

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

#55487 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports