diff options
author | Stan Hu <stanhu@gmail.com> | 2019-04-17 00:40:52 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-04-17 15:09:18 +0300 |
commit | 2fc4de6ab646f1975fb2b747d9743879367710e8 (patch) | |
tree | e58c4b990919375976bf24c0ea4783344c3fab74 /doc/development/gitaly.md | |
parent | b0c0f81d549165e69ca871f94ed0154e30a8970c (diff) |
Bring back Rugged implementation of ListCommitsByOid
This brings back changes in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20432.
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_list_commits_by_oid` to
activate the Rugged method.
For one customer, we saw that ListCommitsByOid was the second highest
used endpoint that may be causing increased load.
Diffstat (limited to 'doc/development/gitaly.md')
-rw-r--r-- | doc/development/gitaly.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/development/gitaly.md b/doc/development/gitaly.md index bfde26dbe4a..d7b6b6aaae5 100644 --- a/doc/development/gitaly.md +++ b/doc/development/gitaly.md @@ -80,6 +80,8 @@ most commonly-used RPCs can be enabled via feature flags: * `rugged_get_tree_entries` * `rugged_tree_entry` * `rugged_commit_is_ancestor` +* `rugged_commit_tree_entry` +* `rugged_list_commits_by_oid` A convenience Rake task can be used to enable or disable these flags all together. To enable: |