gitlab-org--gitlab-foss/lib
Stan Hu 4ee08fd1f7 Add back Rugged support for retrieving a commit tree entry
This brings back some of the changes in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20176/diffs.

We discovered another N+1 that hits Gitaly `TreeEntry` via the
`RelativeLinkFilter`:
https://gitlab.com/gitlab-org/gitlab-ce/issues/58657. When a blob is
loaded with many relative links, `TreeEntry` is called for each link to
scan the URI type.

There are multiple paths that hit Gitaly `TreeEntry`, and
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25706 did not
cover all cases. This commit covers another common use case.

For users using Gitaly on top of NFS, accessing the Git data directly
via Rugged may be faster than going through than Gitaly. This merge
request introduces the feature flag `rugged_commit_tree_entry` to
activate the Rugged method.
2019-03-08 16:01:59 -08:00
..
api Revert "Merge branch 'id-1951-filter-merge-requests-by-approvers' into 'master'" 2019-03-07 14:59:43 +00:00
assets
backup trim empty line 2019-03-07 13:34:17 +01:00
banzai Add SyntaxHighlightFilter to markup pipeline 2019-03-05 14:14:11 +00:00
bitbucket
bitbucket_server Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
constraints Fix git clone revealing private repo's presence 2019-02-19 13:59:24 +08:00
container_registry Add Container Registry API 2019-01-25 13:13:48 +01:00
declarative_policy Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
flowdock
generators/rails/post_deployment_migration
gitaly
gitlab Add back Rugged support for retrieving a commit tree entry 2019-03-08 16:01:59 -08:00
google_api
haml_lint
json_web_token
mattermost
microsoft_teams
object_storage
omni_auth/strategies
peek Provide a performance bar link to the Jaeger UI 2019-02-08 14:08:31 +02:00
quality
rouge
rspec_flaky
safe_zip Fix uninitialized constant with GitLab Pages deploy 2019-01-31 16:52:51 +01:00
sentry Catch exception in calculate reactive cache 2019-02-21 11:19:51 +00:00
serializers
support
system_check Adds the Rubocop ReturnNil cop 2019-03-06 17:51:56 +02:00
tasks Moved all emojis to the public folder 2019-03-07 09:33:03 +00:00
after_commit_queue.rb
backup.rb
banzai.rb
carrier_wave_string_file.rb
declarative_policy.rb
event_filter.rb Add hard coded event type filter 2019-03-07 12:13:34 +02:00
expand_variables.rb
extracts_path.rb
feature.rb Allow setting feature flags per GitLab group 2019-02-19 14:57:03 +08:00
file_size_validator.rb
forever.rb
gitlab.rb Creates a function to check if repo is EE 2019-03-04 08:20:37 +00:00
gt_one_coercion.rb
milestone_array.rb
mysql_zero_date.rb
static_model.rb
system_check.rb
uploaded_file.rb
version_check.rb