Commit b015914c authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'sh-enable-load-balancing-atomic-replica-ff' into 'master'

Switch load_balancing_atomic_replica feature flag on by default

See merge request gitlab-org/gitlab!60574
parents 442fa5a0 82dc0de9
...@@ -4,5 +4,5 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49294 ...@@ -4,5 +4,5 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49294
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/291193 rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/291193
milestone: '13.11' milestone: '13.11'
type: development type: development
group: group: group::database
default_enabled: false default_enabled: true
---
title: Switch load_balancing_atomic_replica feature flag on by default
merge_request: 60574
author:
type: fixed
...@@ -28,7 +28,7 @@ module EE ...@@ -28,7 +28,7 @@ module EE
# report no matching merge requests. To avoid this, we check # report no matching merge requests. To avoid this, we check
# the write location to ensure the replica can make this query. # the write location to ensure the replica can make this query.
track_session_metrics do track_session_metrics do
if ::Feature.enabled?(:load_balancing_atomic_replica, @project) if ::Feature.enabled?(:load_balancing_atomic_replica, @project, default_enabled: :yaml)
::Gitlab::Database::LoadBalancing::Sticking.select_valid_host(:project, @project.id) ::Gitlab::Database::LoadBalancing::Sticking.select_valid_host(:project, @project.id)
else else
::Gitlab::Database::LoadBalancing::Sticking.unstick_or_continue_sticking(:project, @project.id) ::Gitlab::Database::LoadBalancing::Sticking.unstick_or_continue_sticking(:project, @project.id)
......
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