4ee08fd1f7
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. |
||
---|---|---|
.. | ||
conflict | ||
patches | ||
rugged_impl | ||
attributes_at_ref_parser.rb | ||
attributes_parser.rb | ||
blame.rb | ||
blob.rb | ||
branch.rb | ||
bundle_file.rb | ||
commit.rb | ||
commit_stats.rb | ||
compare.rb | ||
diff.rb | ||
diff_collection.rb | ||
diff_stats_collection.rb | ||
gitmodules_parser.rb | ||
hook_env.rb | ||
index.rb | ||
lfs_changes.rb | ||
lfs_pointer_file.rb | ||
merge_base.rb | ||
object_pool.rb | ||
operation_service.rb | ||
path_helper.rb | ||
pre_receive_error.rb | ||
push.rb | ||
raw_diff_change.rb | ||
ref.rb | ||
remote_mirror.rb | ||
remote_repository.rb | ||
repository.rb | ||
repository_cleaner.rb | ||
repository_mirroring.rb | ||
tag.rb | ||
tree.rb | ||
user.rb | ||
util.rb | ||
version.rb | ||
wiki.rb | ||
wiki_file.rb | ||
wiki_page.rb | ||
wiki_page_version.rb | ||
wraps_gitaly_errors.rb |