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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-10-19 10:30:04 +0300
committerBob Van Landuyt <bob@vanlanduyt.co>2017-10-23 13:53:49 +0300
commit705c15d7af013f8ac9c132888dfe2e613e424dd4 (patch)
treee0bf29ca8c71447174965f0787bf9b2ffaf7149a /doc/administration/repository_storage_paths.md
parent591ee4e3611dff5f6feac3a73974da4e8d5cc69f (diff)
Allow enabling the circuitbreaker using an env variable
That way we can enable the circuitbreaker for just one host at a time.
Diffstat (limited to 'doc/administration/repository_storage_paths.md')
-rw-r--r--doc/administration/repository_storage_paths.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/administration/repository_storage_paths.md b/doc/administration/repository_storage_paths.md
index 2ee8d78b2f0..96f436fa7c3 100644
--- a/doc/administration/repository_storage_paths.md
+++ b/doc/administration/repository_storage_paths.md
@@ -131,6 +131,15 @@ mount is reset.
**Seconds to wait for a storage access attempt:** The time in seconds GitLab will
try to access storage. After this time a timeout error will be raised.
+To enable the circuitbreaker for repository storage you can flip the feature flag from a rails console:
+
+```
+Feature.enable('git_storage_circuit_breaker')
+```
+
+Alternatively it can be enabled by setting `true` in the `GIT_STORAGE_CIRCUIT_BREAKER` environment variable.
+This approach would be used when enabling the circuit breaker on a single host.
+
When storage failures occur, this will be visible in the admin interface like this:
![failing storage](img/failing_storage.png)