diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-06 06:07:35 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-02-06 06:07:35 +0300 |
commit | bdb97ece6809b945927d50effcdf9d284634d4d5 (patch) | |
tree | a5bf5284a9c233f47ca65ce5790a8276b3fade3b /db | |
parent | bd9860f6911096e8ffe269797b90edd611f9b40f (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r-- | db/post_migrate/20210604070207_retry_backfill_traversal_ids.rb | 21 | ||||
-rw-r--r-- | db/schema_migrations/20210604070207 | 1 |
2 files changed, 0 insertions, 22 deletions
diff --git a/db/post_migrate/20210604070207_retry_backfill_traversal_ids.rb b/db/post_migrate/20210604070207_retry_backfill_traversal_ids.rb deleted file mode 100644 index 5e540c7f359..00000000000 --- a/db/post_migrate/20210604070207_retry_backfill_traversal_ids.rb +++ /dev/null @@ -1,21 +0,0 @@ -# frozen_string_literal: true - -class RetryBackfillTraversalIds < ActiveRecord::Migration[6.1] - include Gitlab::Database::MigrationHelpers - - ROOTS_MIGRATION = 'BackfillNamespaceTraversalIdsRoots' - CHILDREN_MIGRATION = 'BackfillNamespaceTraversalIdsChildren' - DOWNTIME = false - DELAY_INTERVAL = 2.minutes - - disable_ddl_transaction! - - def up - duration = requeue_background_migration_jobs_by_range_at_intervals(ROOTS_MIGRATION, DELAY_INTERVAL) - requeue_background_migration_jobs_by_range_at_intervals(CHILDREN_MIGRATION, DELAY_INTERVAL, initial_delay: duration) - end - - def down - # no-op - end -end diff --git a/db/schema_migrations/20210604070207 b/db/schema_migrations/20210604070207 deleted file mode 100644 index 3531c9775bd..00000000000 --- a/db/schema_migrations/20210604070207 +++ /dev/null @@ -1 +0,0 @@ -ec44b7f134de2ea6537c6fe3109fa9d7e32785233f3d1b8e9ea118474d21526a
\ No newline at end of file |