Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
105c5422
Commit
105c5422
authored
Sep 09, 2020
by
Dmitry Gruzd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable indexes_namespace_cache by default
parent
63124283
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
ee/app/models/ee/application_setting.rb
ee/app/models/ee/application_setting.rb
+1
-1
ee/changelogs/unreleased/244847-rollout-elasticsearch-indexes-namespace-cache.yml
.../244847-rollout-elasticsearch-indexes-namespace-cache.yml
+5
-0
ee/config/feature_flags/development/elasticsearch_indexes_namespace_cache.yml
...ags/development/elasticsearch_indexes_namespace_cache.yml
+1
-1
No files found.
ee/app/models/ee/application_setting.rb
View file @
105c5422
...
...
@@ -156,7 +156,7 @@ module EE
return
false
unless
elasticsearch_indexing?
return
true
unless
elasticsearch_limit_indexing?
elasticsearch_limited_namespaces
.
exists?
(
namespace
.
id
)
unless
::
Feature
.
enabled?
(
:elasticsearch_indexes_namespace_cache
)
elasticsearch_limited_namespaces
.
exists?
(
namespace
.
id
)
unless
::
Feature
.
enabled?
(
:elasticsearch_indexes_namespace_cache
,
default_enabled:
true
)
::
Gitlab
::
Elastic
::
ElasticsearchEnabledCache
.
fetch
(
:namespace
,
namespace
.
id
)
do
elasticsearch_limited_namespaces
.
exists?
(
namespace
.
id
)
...
...
ee/changelogs/unreleased/244847-rollout-elasticsearch-indexes-namespace-cache.yml
0 → 100644
View file @
105c5422
---
title
:
Enable elasticsearch namespace enabled cache by default
merge_request
:
41875
author
:
type
:
performance
ee/config/feature_flags/development/elasticsearch_indexes_namespace_cache.yml
View file @
105c5422
...
...
@@ -4,4 +4,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41274
rollout_issue_url
:
https://gitlab.com/gitlab-org/gitlab/-/issues/244847
group
:
group::global search
type
:
development
default_enabled
:
fals
e
default_enabled
:
tru
e
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment