Commit ef36c4a0 authored by Nick Thomas's avatar Nick Thomas

Merge branch 'enable-maven-query-optimization-ff-by-default' into 'master'

Enable maven CTE query optimization FF

See merge request gitlab-org/gitlab!57692
parents 8159b693 16a3899b
......@@ -142,7 +142,7 @@ class Packages::Package < ApplicationRecord
end
def self.only_maven_packages_with_path(path, use_cte: false)
if use_cte && Feature.enabled?(:maven_metadata_by_path_with_optimization_fence)
if use_cte && Feature.enabled?(:maven_metadata_by_path_with_optimization_fence, default_enabled: :yaml)
# This is an optimization fence which assumes that looking up the Metadatum record by path (globally)
# and then filter down the packages (by project or by group and subgroups) will be cheaper than
# looking up all packages within a project or group and filter them by path.
......
---
title: Optimize group level Maven package finder query
merge_request: 57692
author:
type: performance
......@@ -5,4 +5,4 @@ rollout_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/325460
milestone: '13.11'
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