2023-01-13 00:05:48 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
module Gitlab
|
|
|
|
module BackgroundMigration
|
|
|
|
# rubocop: disable Style/Documentation
|
|
|
|
class RecountEpicCacheCounts < Gitlab::BackgroundMigration::BatchedMigrationJob
|
2023-03-17 16:20:25 +05:30
|
|
|
feature_category :database
|
|
|
|
|
2023-01-13 00:05:48 +05:30
|
|
|
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::RecountEpicCacheCounts.prepend_mod_with('Gitlab::BackgroundMigration::BackfillEpicCacheCounts')
|
|
|
|
# rubocop: enable Layout/LineLength
|