diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-20 12:09:21 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-12-20 12:09:21 +0000 |
commit | 09b4875c004d2db76b15cb0b32e7a7e623bbfa6f (patch) | |
tree | ed34a2d9267c31a22623e37e8cfc0ca009e59e2b /lib/gitlab/background_migration | |
parent | 19e00b948726c0f7ca27dd92200493803499a4e1 (diff) | |
download | gitlab-ce-09b4875c004d2db76b15cb0b32e7a7e623bbfa6f.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/background_migration')
-rw-r--r-- | lib/gitlab/background_migration/second_recount_epic_cache_counts.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/gitlab/background_migration/second_recount_epic_cache_counts.rb b/lib/gitlab/background_migration/second_recount_epic_cache_counts.rb new file mode 100644 index 00000000000..37933affe71 --- /dev/null +++ b/lib/gitlab/background_migration/second_recount_epic_cache_counts.rb @@ -0,0 +1,18 @@ +# frozen_string_literal: true + +module Gitlab + module BackgroundMigration + # rubocop: disable Style/Documentation + class SecondRecountEpicCacheCounts < Gitlab::BackgroundMigration::BatchedMigrationJob + def perform; end + end + # rubocop: enable Style/Documentation + end +end + +# rubocop: disable Layout/LineLength +# we just want to re-enqueue the previous BackfillEpicCacheCounts migration, +# because it's a EE-only migation and it's a module, we just prepend new +# RecountEpicCacheCounts with existing batched migration module (which is same in both cases) +Gitlab::BackgroundMigration::SecondRecountEpicCacheCounts.prepend_mod_with('Gitlab::BackgroundMigration::BackfillEpicCacheCounts') +# rubocop: enable Layout/LineLength |