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
path: root/cmd
diff options
context:
space:
mode:
authorJohn Cai <jcai@gitlab.com>2021-12-14 19:18:23 +0300
committerJohn Cai <jcai@gitlab.com>2021-12-14 19:27:20 +0300
commit0aa1e36fcf2e4c6f2ece514b523b86cd3177b249 (patch)
treea444edc4b1e475760a0f38d0cbfe387bd2d2b46c /cmd
parent96e5c7bc0e2b1d02c931c48f9464d812f74a0b11 (diff)
cmd/praefect: Add missing primaries check
Add a praefect startup check to get the number of repositories that have a missing primary. This check fails if there are any repositories are deemed unavailable. Changelog: added
Diffstat (limited to 'cmd')
-rw-r--r--cmd/praefect/subcmd.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/praefect/subcmd.go b/cmd/praefect/subcmd.go
index f6b63ee2c..c8c240a46 100644
--- a/cmd/praefect/subcmd.go
+++ b/cmd/praefect/subcmd.go
@@ -47,6 +47,7 @@ var subcommands = map[string]subcmd{
praefect.NewPraefectMigrationCheck,
praefect.NewGitalyNodeConnectivityCheck,
praefect.NewPostgresReadWriteCheck,
+ praefect.NewUnavailableReposCheck,
),
metadataCmdName: newMetadataSubcommand(os.Stdout),
}