Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-06-09 09:10:29 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-06-09 09:10:29 +0300
commita5628d3b6d9b74f5902f790ceddd6374148c9d71 (patch)
tree3f62d7996083daa0eae175beea397ec0e0d490ed /lib/gitlab/checks
parentbd02c91f731fd4a02fd44f72b06f6e5f33625065 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'lib/gitlab/checks')
-rw-r--r--lib/gitlab/checks/matching_merge_request.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/gitlab/checks/matching_merge_request.rb b/lib/gitlab/checks/matching_merge_request.rb
index 3c4625577d4..e37cbc0442b 100644
--- a/lib/gitlab/checks/matching_merge_request.rb
+++ b/lib/gitlab/checks/matching_merge_request.rb
@@ -28,11 +28,7 @@ module Gitlab
# report no matching merge requests. To avoid this, we check
# the write location to ensure the replica can make this query.
track_session_metrics do
- if ::Feature.enabled?(:load_balancing_atomic_replica, @project, default_enabled: :yaml)
- ::Gitlab::Database::LoadBalancing::Sticking.select_valid_host(:project, @project.id)
- else
- ::Gitlab::Database::LoadBalancing::Sticking.unstick_or_continue_sticking(:project, @project.id)
- end
+ ::Gitlab::Database::LoadBalancing::Sticking.select_valid_host(:project, @project.id)
end
end