Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2021-06-24 09:06:51 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2021-06-28 09:32:54 +0300
commitc5b8403b7e5c46b0d60a5417b6142582c0a91340 (patch)
tree59b8bc32ac784519462a0ca4c30abab8fd0f84c4
parent56aa9a2196f0003bc011e4152bb093b8d32be83d (diff)
featureflag: Default-enable GoUpdateRemoteMirror
The Go implementation of UpdateRemoteMirror is currently hidden behind a feature flag. Given that its implementation has been rolled out to production on June 15th without any further issues, let's default-enable the feature flag. This also fixes an issue we have with the rollout of in-memory remotes in Rails: they're only implemented in the Go port, but due to an oversight we already default-enabled usage of in-memory remotes in Rails. As a result, if the GoUpdateRemoteMirror feature flag wasn't manually enabled, Rails will now always fail. Changelog: changed
-rw-r--r--internal/metadata/featureflag/feature_flags.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/metadata/featureflag/feature_flags.go b/internal/metadata/featureflag/feature_flags.go
index 50bb19293..f308e75c7 100644
--- a/internal/metadata/featureflag/feature_flags.go
+++ b/internal/metadata/featureflag/feature_flags.go
@@ -10,7 +10,7 @@ type FeatureFlag struct {
// NOTE: if you add a new feature flag please add it to the `All` list defined below.
var (
// GoUpdateRemoteMirror enables the Go implementation of UpdateRemoteMirror
- GoUpdateRemoteMirror = FeatureFlag{Name: "go_update_remote_mirror", OnByDefault: false}
+ GoUpdateRemoteMirror = FeatureFlag{Name: "go_update_remote_mirror", OnByDefault: true}
// FetchInternalRemoteErrors makes FetchInternalRemote return actual errors instead of a boolean
FetchInternalRemoteErrors = FeatureFlag{Name: "fetch_internal_remote_errors", OnByDefault: false}
// LFSPointersPipeline enables the alternative pipeline implementation of LFS-pointer