Skip to content
Snippets Groups Projects
Commit c5b800f6 authored by euko's avatar euko :palm_tree:
Browse files

Remove use_primary_for_update_computations FF

Changelog: removed
parent b2d089e7
No related branches found
No related tags found
1 merge request!146287Remove the FF `use_primary_for_update_computations`
......@@ -311,8 +311,8 @@ def handle_description_updated(issuable)
GraphqlTriggers.issuable_description_updated(issuable)
end
def update(issuable) # rubocop:disable Metrics/AbcSize -- remove with the FF `use_primary_for_update_computations`
::Gitlab::Database::LoadBalancing::Session.current.use_primary! if Feature.enabled?(:use_primary_for_update_computations, issuable.try(:resource_parent))
def update(issuable)
::Gitlab::Database::LoadBalancing::Session.current.use_primary!
old_associations = associations_before_update(issuable)
......
---
name: use_primary_for_update_computations
feature_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/416207
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/145792
rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/443293
milestone: '16.10'
group: group::project management
type: gitlab_com_derisk
default_enabled: false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment