Commit 73eda3ea authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'default_enable_use_upsert_query_for_mr_metrics' into 'master'

Default enable use_upsert_query_for_mr_metrics FF

See merge request gitlab-org/gitlab!72120
parents 4689aa90 37723ac4
......@@ -1869,7 +1869,7 @@ class MergeRequest < ApplicationRecord
override :ensure_metrics
def ensure_metrics
if Feature.enabled?(:use_upsert_query_for_mr_metrics)
if Feature.enabled?(:use_upsert_query_for_mr_metrics, default_enabled: :yaml)
MergeRequest::Metrics.record!(self)
else
# Backward compatibility: some merge request metrics records will not have target_project_id filled in.
......
......@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/339677
milestone: '14.3'
type: development
group: group::optimize
default_enabled: false
default_enabled: true
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