Commit 8512c964 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch...

Merge branch '325611-query-performance-investigation-query-id-9033274384763230000-ci_builds-table-1' into 'master'

Sidekiq replicas for PipelineProcessWorker via FF [RUN ALL RSPEC] [RUN AS-IF-FOSS]

See merge request gitlab-org/gitlab!61766
parents 88b3beca a1a78072
...@@ -10,6 +10,7 @@ class PipelineProcessWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -10,6 +10,7 @@ class PipelineProcessWorker # rubocop:disable Scalability/IdempotentWorker
feature_category :continuous_integration feature_category :continuous_integration
urgency :high urgency :high
loggable_arguments 1 loggable_arguments 1
data_consistency :delayed, feature_flag: :load_balancing_for_pipeline_process_worker
# rubocop: disable CodeReuse/ActiveRecord # rubocop: disable CodeReuse/ActiveRecord
# `_build_ids` is deprecated and will be removed in 14.0 # `_build_ids` is deprecated and will be removed in 14.0
......
---
name: load_balancing_for_pipeline_process_worker
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/61766
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/330960
milestone: '13.12'
type: development
group: group::continuous integration
default_enabled: false
...@@ -20,5 +20,10 @@ RSpec.describe PipelineProcessWorker do ...@@ -20,5 +20,10 @@ RSpec.describe PipelineProcessWorker do
.not_to raise_error .not_to raise_error
end end
end end
it_behaves_like 'worker with data consistency',
described_class,
feature_flag: :load_balancing_for_pipeline_process_worker,
data_consistency: :delayed
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment