Skip to content

Finalize delete orphaned deployments background migration

What does this MR do?

After the re-rescheduled BG migration, we've confirmed that all of the jobs are succeeded.

[ gprd ] production> Gitlab::Database::BackgroundMigrationJob.where(class_name: 'DeleteOrphanedDeployment
s').pending.count
=> 0
[ gprd ] production> Gitlab::Database::BackgroundMigrationJob.where(class_name: 'DeleteOrphanedDeployment
s').succeeded.count
=> 16638

This is ready for proceeding to finalizing according to the BG migration process.

Related #335071 (closed)

Migration

shinya@shinya-B550-VISION-D:~/workspace/thin-gdk/services/rails/src$ tre bin/rails db:migrate:redo VERSION=20211011152701
INFO: This script is a predefined script in devkitkat.
WARNING: This version of GitLab depends on gitlab-shell 13.21.1, but you're running 13.21.0. Please update gitlab-shell.
WARNING: This installation of GitLab uses a deprecated syntax for 'config/database.yml'. The support for this syntax will be removed in 15.0. More information can be found here: https://gitlab.com/gitlab-org/gitlab/-/issues/338182
== 20211011152701 CleanupDeleteOrphanedDeploymentsBackgroundMigration: reverting 
== 20211011152701 CleanupDeleteOrphanedDeploymentsBackgroundMigration: reverted (0.0000s) 

== 20211011152701 CleanupDeleteOrphanedDeploymentsBackgroundMigration: migrating 
== 20211011152701 CleanupDeleteOrphanedDeploymentsBackgroundMigration: migrated (0.0189s) 

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • 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
Edited by Shinya Maeda

Merge request reports

Loading