diff options
author | Pavlo Strokov <pstrokov@gitlab.com> | 2020-06-06 09:13:59 +0300 |
---|---|---|
committer | John Cai <jcai@gitlab.com> | 2020-06-06 09:13:59 +0300 |
commit | 3015552e552fee45464daea0977916434023be6f (patch) | |
tree | 98f7a7ca444ad75139a8700dd0e625a1778c4dd1 /internal/bootstrap | |
parent | 8f85c2d485c3949d5ca1f2abd0805f5dd5e40356 (diff) |
How to handle proxying FindRemoteRepository
It is a first steps towards making FindRemoteRepository RPC
to become STORAGE scoped. It is needed to simplify routing
in Praefect and omit need for Praefect to handle this RPC
as a special case. After change is done the request will be
routed into one of the Gitalies and handled there. The Git
is not needed to be installed on Prafect node in order to
support the implementation of only single RPC.
Part of: https://gitlab.com/gitlab-org/gitaly/-/issues/2442
Diffstat (limited to 'internal/bootstrap')
-rw-r--r-- | internal/bootstrap/bootstrap.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/bootstrap/bootstrap.go b/internal/bootstrap/bootstrap.go index bcd1b296d..c7c180d5d 100644 --- a/internal/bootstrap/bootstrap.go +++ b/internal/bootstrap/bootstrap.go @@ -17,7 +17,7 @@ const ( // EnvPidFile is the name of the environment variable containing the pid file path EnvPidFile = "GITALY_PID_FILE" // EnvUpgradesEnabled is an environment variable that when defined gitaly must enable graceful upgrades on SIGHUP - EnvUpgradesEnabled = "GITALY_UPGRADES_ENABLED" + EnvUpgradesEnabled = "GITALY_UPGRADES_ENABLED" SocketReusePortWarning = "Unable to set SO_REUSEPORT: zero downtime upgrades will not work" ) |