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>2022-02-28 11:14:50 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2022-02-28 11:14:50 +0300
commit52625870d2f973dc56128fb2aadb26715b521b2f (patch)
tree9c33b6fab45abfe39c82f859cfc68d3a27e721b2
parentb6e1f3ce3799d61cb7cdbd67952d82c126f44c4f (diff)
git: Enable use of bundled Git by default
With commit 073727abd (git: Add a feature flag to toggle between bundled and external Git, 2022-01-13) we have added the ability to switch between bundled and distributed Git via a feature flag in case both have been enabled via Gitaly's configuration. We have rolled out the use of bundled Git in production on February 23rd without any observed issues so far. Enable the use of bundled Git by default in case it's enabled in the configuration. We do not remove the flag right away given that we don't have coverage in internal operations, where we don't have a gRPC context injected by Rails available. This change thus further increases coverage of where we use bundled Git. Changelog: changed
-rw-r--r--internal/metadata/featureflag/ff_use_bundled_git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/metadata/featureflag/ff_use_bundled_git.go b/internal/metadata/featureflag/ff_use_bundled_git.go
index dfd12464d..e833c4e78 100644
--- a/internal/metadata/featureflag/ff_use_bundled_git.go
+++ b/internal/metadata/featureflag/ff_use_bundled_git.go
@@ -2,4 +2,4 @@ package featureflag
// UseBundledGit enables the use of bundled Git if the Gitaly configuration has both a binary path
// and the bundled Git enabled.
-var UseBundledGit = NewFeatureFlag("use_bundled_git", false)
+var UseBundledGit = NewFeatureFlag("use_bundled_git", true)