Skip to content
代码片段 群组 项目
未验证 提交 c36a546a 编辑于 作者: Matt Kasa's avatar Matt Kasa 提交者: GitLab
浏览文件

Merge branch...

Merge branch 'not_owned--chaos--cpu-spin-worker--chaos--db-spin-worker--chaos--kill-worker--chaos--leak-mem-worker--chaos--sleep-worker' into 'master' 

Change data consistency for workers maintained by not_owned

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/170350



Merged-by: default avatarMatt Kasa <mkasa@gitlab.com>
Approved-by: default avatarAndrew Newdigate <andrew@gitlab.com>
Approved-by: default avatarMatt Kasa <mkasa@gitlab.com>
Co-authored-by: default avatarLeonardo Rosa <ldarosa@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -9,11 +9,6 @@ SidekiqLoadBalancing/WorkerDataConsistency:
- 'app/workers/bulk_imports/finish_batched_pipeline_worker.rb'
- 'app/workers/bulk_imports/pipeline_batch_worker.rb'
- 'app/workers/bulk_imports/relation_batch_export_worker.rb'
- 'app/workers/chaos/cpu_spin_worker.rb'
- 'app/workers/chaos/db_spin_worker.rb'
- 'app/workers/chaos/kill_worker.rb'
- 'app/workers/chaos/leak_mem_worker.rb'
- 'app/workers/chaos/sleep_worker.rb'
- 'app/workers/chat_notification_worker.rb'
- 'app/workers/ci/archive_traces_cron_worker.rb'
- 'app/workers/ci/build_prepare_worker.rb'
......
......@@ -4,7 +4,7 @@ module Chaos
class CpuSpinWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
data_consistency :always
data_consistency :sticky
sidekiq_options retry: 3
include ChaosQueue
......
......@@ -4,7 +4,7 @@ module Chaos
class DbSpinWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
data_consistency :always
data_consistency :sticky
sidekiq_options retry: 3
include ChaosQueue
......
......@@ -4,7 +4,7 @@ module Chaos
class KillWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
data_consistency :always
data_consistency :sticky
include ChaosQueue
sidekiq_options retry: false
......
......@@ -4,7 +4,7 @@ module Chaos
class LeakMemWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
data_consistency :always
data_consistency :sticky
sidekiq_options retry: 3
include ChaosQueue
......
......@@ -4,7 +4,7 @@ module Chaos
class SleepWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
data_consistency :always
data_consistency :sticky
sidekiq_options retry: 3
include ChaosQueue
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册