Commit graph

25 commits

Author SHA1 Message Date
John Cai
fe31f63ce8 Add gitaly session id & catfile-cache feature flag 2019-04-29 07:21:36 +00:00
Mark Lapierre
b3f54b3d8e Add feature flag to enforce gitaly request limits
We typically don't want to enforce request limits in production
However, we have some production-like test environments, i.e., ones
where `Rails.env.production?` returns `true`. We do want to be able
to check if the limit is being exceeded while testing in those
environments.
2019-03-11 21:15:03 +00:00
Valery Sizov
e3cacb95a8 Add connection_data method to Gitaly client
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/7434
2019-01-25 14:16:42 +02:00
Ahmad Hassan
907f0ce8a2 More tls gitaly docs 2018-12-21 18:06:46 +02:00
Ahmad Hassan
d975074e1f Log certificate loading errors into sentry 2018-12-20 18:24:53 +02:00
Ahmad Hassan
32c4f70aa5 Followups on review 2018-12-19 15:19:43 +02:00
Ahmad Hassan
dfc54352c0 Merge remote-tracking branch 'origin/master' into support-gitaly-tls 2018-12-11 16:48:26 +02:00
Zeger-Jan van de Weg
5c131dac5e
Fix bug where ID is not set
On HEAD~ we remove the ID from the class, which created a bug. Given we
don't need the ID anymore, it has been removed and simplified.
2018-11-20 13:40:45 +01:00
Zeger-Jan van de Weg
16346eb5b9 Revert "Merge branch 'revert-e2aa2177' into 'master'"
This reverts merge request !23229
2018-11-20 12:29:56 +00:00
Sean McGivern
2742b871fe Revert "Merge branch 'zj-improve-gitaly-pb' into 'master'"
This reverts merge request !23140
2018-11-20 10:36:52 +00:00
Zeger-Jan van de Weg
4ca5eadddb
Remove duplicate tests for Gitaly
The disabling of Gitaly was basically stubbing `Feature.enabled?` call,
which was never triggered.
2018-11-19 14:40:53 +01:00
Ahmad Hassan
08a57fe828 Add more specs 2018-10-31 15:43:05 +02:00
Ahmad Hassan
b8ab35d6fe Add gitaly client specs 2018-10-31 15:20:39 +02:00
Stan Hu
8671261309 Add a gRPC health check to ensure Gitaly is up
This will enable Geo to skip shards that not operational.

Relates to gitlab-org/gitlab-ee#4329
2018-01-24 15:47:27 -08:00
Alejandro Rodríguez
11247ac97c Move encoding methods to the more general EncodingHelper 2017-12-28 12:32:33 -03:00
Andrew Newdigate
64e5f996fa Add timeouts for Gitaly calls 2017-11-29 09:12:12 +00:00
Andrew Newdigate
27cc1c2b28 Fix for Gitaly nil encoding issue 2017-10-03 08:03:19 +00:00
Andrew Newdigate
64d7ec0a9e Detect n+1 issues involving Gitaly 2017-09-19 10:55:37 +00:00
Andrew Newdigate
94680e1448 Gitaly feature toggles are on by default in development environments 2017-09-07 17:39:00 +00:00
Rémy Coutable
ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Andrew Newdigate
a89f18bf2c Renamed Gitaly services 2017-07-18 07:59:36 +00:00
Robert Speicher
a6ec5121f0 Correct RSpec/SingleLineHook cop offenses 2017-06-14 13:18:56 -05:00
Alejandro Rodríguez
671284ba37 Add feature toggles through Flipper 2017-05-31 21:06:01 +00:00
Jacob Vosmaer
43f037c903 Don't reuse gRPC channels
It seems that bad things happen when two gRPC stubs share one gRPC
channel so let's stop doing that. The downside of this is that we
create more gRPC connections; one per stub.
2017-05-15 10:52:33 +02:00
Ahmad Sherif
09751c75eb Add support for Gitaly calls over TCP connection
Closes gitaly#166
2017-04-03 18:45:36 +02:00