summaryrefslogtreecommitdiff
path: root/app/workers/hashed_storage/rollbacker_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/hashed_storage/rollbacker_worker.rb')
-rw-r--r--app/workers/hashed_storage/rollbacker_worker.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/workers/hashed_storage/rollbacker_worker.rb b/app/workers/hashed_storage/rollbacker_worker.rb
index 447bdfa6220..90e48f0e37a 100644
--- a/app/workers/hashed_storage/rollbacker_worker.rb
+++ b/app/workers/hashed_storage/rollbacker_worker.rb
@@ -4,11 +4,16 @@ module HashedStorage
class RollbackerWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
+ data_consistency :always
+
sidekiq_options retry: 3
queue_namespace :hashed_storage
feature_category :source_code_management
- tags :exclude_from_gitlab_com
+
+ # Gitlab::HashedStorage::Migrator#rollback_pending? depends on the
+ # queue size of this worker.
+ tags :exclude_from_gitlab_com, :needs_own_queue
# @param [Integer] start initial ID of the batch
# @param [Integer] finish last ID of the batch