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
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/291193
milestone: '13.11'
type: development
group:
default_enabled: false
group: group::database
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
# 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)
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)
......
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