Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1bfbf19e
Commit
1bfbf19e
authored
May 18, 2021
by
Dmitry Gruzd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rollout of load_balancing_for_bulk_cron_workers ff
parent
4ec6a527
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
11 deletions
+7
-11
config/feature_flags/development/load_balancing_for_bulk_cron_workers.yml
...lags/development/load_balancing_for_bulk_cron_workers.yml
+0
-8
ee/app/workers/elastic_index_bulk_cron_worker.rb
ee/app/workers/elastic_index_bulk_cron_worker.rb
+1
-1
ee/app/workers/elastic_index_initial_bulk_cron_worker.rb
ee/app/workers/elastic_index_initial_bulk_cron_worker.rb
+1
-1
ee/changelogs/unreleased/326721-remove-load-balancing-ff.yml
ee/changelogs/unreleased/326721-remove-load-balancing-ff.yml
+5
-0
ee/spec/workers/elastic_index_bulk_cron_worker_spec.rb
ee/spec/workers/elastic_index_bulk_cron_worker_spec.rb
+0
-1
No files found.
config/feature_flags/development/load_balancing_for_bulk_cron_workers.yml
deleted
100644 → 0
View file @
4ec6a527
---
name
:
load_balancing_for_bulk_cron_workers
introduced_by_url
:
https://gitlab.com/gitlab-org/gitlab/-/merge_requests/58345
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/326721
milestone
:
'
13.11'
type
:
development
group
:
group::global search
default_enabled
:
false
ee/app/workers/elastic_index_bulk_cron_worker.rb
View file @
1bfbf19e
...
...
@@ -7,7 +7,7 @@ class ElasticIndexBulkCronWorker # rubocop:disable Scalability/IdempotentWorker
urgency
:throttled
# Even though this worker is idempotent, until https://gitlab.com/gitlab-org/gitlab/-/issues/325291 is done
# we can't use it with read-only database replicas
data_consistency
:delayed
,
feature_flag: :load_balancing_for_bulk_cron_workers
data_consistency
:delayed
private
...
...
ee/app/workers/elastic_index_initial_bulk_cron_worker.rb
View file @
1bfbf19e
...
...
@@ -7,7 +7,7 @@ class ElasticIndexInitialBulkCronWorker # rubocop:disable Scalability/Idempotent
urgency
:throttled
# Even though this worker is idempotent, until https://gitlab.com/gitlab-org/gitlab/-/issues/325291 is done
# we can't use it with read-only database replicas
data_consistency
:delayed
,
feature_flag: :load_balancing_for_bulk_cron_workers
data_consistency
:delayed
private
...
...
ee/changelogs/unreleased/326721-remove-load-balancing-ff.yml
0 → 100644
View file @
1bfbf19e
---
title
:
'
Advanced
Search:
Allow
indexing
workers
to
use
replicas'
merge_request
:
61993
author
:
type
:
performance
ee/spec/workers/elastic_index_bulk_cron_worker_spec.rb
View file @
1bfbf19e
...
...
@@ -50,6 +50,5 @@ RSpec.describe ElasticIndexBulkCronWorker do
it_behaves_like
'worker with data consistency'
,
described_class
,
feature_flag: :load_balancing_for_bulk_cron_workers
,
data_consistency: :delayed
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment