Commit Graph

22 Commits

Author SHA1 Message Date
Yoginth 88bb6b1d74 Fix Typos 2019-06-12 15:51:29 +00:00
John Cai ffa8095391 Document where Gitaly instance writes logs during rspec 2019-05-02 22:47:29 +00:00
Stan Hu 2fc4de6ab6 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.
2019-04-17 05:09:18 -07:00
Zeger-Jan van de Weg 469844c4f9
Update comments about N + 1 Gitaly calls
To make sure all known issues are linked to the correct epic, I've gone
through the code base, and updated the comments where required.
2019-04-09 17:21:16 +02:00
Marcel Amirault 2040649bba Docs: Fix anchors related to variables doc 2019-04-08 12:32:38 +00:00
Achilleas Pipinellis 342f96040a Merge branch 'jc-add-docs-for-gitaly-feature-flags' into 'master'
Add development documentation for gitaly feature flags

See merge request gitlab-org/gitlab-ce!25624
2019-03-26 18:13:47 +00:00
John Cai 1c2bfc99ba Add development documentation for gitaly feature flags 2019-03-26 08:28:12 -07:00
Achilleas Pipinellis a6653b3cda Merge branch 'patch-46' into 'master'
Link to the gitaly repository's Beginniner's Guide documentation

See merge request gitlab-org/gitlab-ce!25627
2019-03-19 08:22:14 +00:00
Zeger-Jan van de Weg 6e92cbe711 Update Gitaly docs now NFS isn't required anymore 2019-03-04 12:15:18 +00:00
Stan Hu fb6a4e21d4 Bring back Rugged implementation of find_commit
This brings back some of the changes in
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/20339.

For users using Gitaly on top of NFS, accessing the Git data directly
via Rugged is more performant than Gitaly. This merge request introduces
the feature flag `rugged_find_commit` to activate Rugged paths.

There are also Rake tasks `gitlab:features:enable_rugged` and
`gitlab:features:disable_rugged` to enable/disable these feature
flags altogether.

Part of four Rugged changes identified in
https://gitlab.com/gitlab-org/gitlab-ce/issues/57317.
2019-03-01 08:45:51 -08:00
Luke Duncalfe db218d8829 Add a link to the gitaly repo's guide
The gitaly repository's Beginner's Guide documentation is 
an excellent source of information that should be read
first.
2019-02-28 03:34:22 +00:00
Evan Read c2c2d04b3a Fix most instances of bare URLs in markdown 2019-01-24 06:52:33 +00:00
Nick Thomas 3ee9bca503
Allow Gitaly to be built from a custom URL 2019-01-23 20:37:02 +00:00
Alejandro Rodríguez a99bf447a2 Remove Gitlab::Git::Repository#rugged and Gollum code
Cleanup code, and refactor tests that still use Rugged. After this, there should
be no Rugged code that access the instance's repositories on non-test
environments. There is still some rugged code for other tasks like the
repository import task, but since it doesn't access any repository storage path
it can stay.
2018-10-02 16:34:28 -03:00
Marcel Amirault fd7358a8cd Correct Gitlab to GitLab in docs 2018-09-25 04:57:57 +00:00
Jacob Vosmaer (GitLab) 3717deae1e Document process for new Git features 2018-04-10 09:31:31 +00:00
Jacob Vosmaer (GitLab) c5e2c0665f Allow local tests to use a modified Gitaly 2018-01-05 11:31:12 +00:00
Zeger-Jan van de Weg e5450017d2 Update gitaly.md 2017-10-17 09:03:11 +00:00
Zeger-Jan van de Weg 211e78d594 Update documentation 2017-10-17 08:46:05 +00:00
Zeger-Jan van de Weg 61f4d08b7b
Allow testing on Gitaly call count
Previous efforts were aimed at detecting N + 1 queries, general
regressions are hard to find and mitigate.
2017-10-16 13:25:51 +02:00
Andrew Newdigate 2146d6253f Add environment variable to bypass n+1 2017-09-30 16:26:23 +00:00
Andrew Newdigate 0aef7d27e5 Added some Gitaly docs to `docs/development` 2017-09-27 14:59:51 +00:00