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:
authorJohn Cai <jcai@gitlab.com>2019-09-12 01:57:35 +0300
committerJohn Cai <jcai@gitlab.com>2019-09-18 21:38:07 +0300
commit1fecd3adaaf021db721cdfc0fd2d46e96e4f791b (patch)
tree03793bdac1f585d761f1faa1e4662bc6644debfd /config.praefect.toml.example
parentd9dc10a48d8c7fb0ada94f7cda67d90071e73b18 (diff)
Explicitly designate primary and replica nodes in praefect config
Diffstat (limited to 'config.praefect.toml.example')
-rw-r--r--config.praefect.toml.example1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.praefect.toml.example b/config.praefect.toml.example
index bbaaf8f65..368f9fed6 100644
--- a/config.praefect.toml.example
+++ b/config.praefect.toml.example
@@ -24,6 +24,7 @@ listen_addr = "127.0.0.1:2305"
[[node]]
storage = "praefect-git-0"
address = "tcp://praefect-git-0.internal"
+ primary = true
[[node]]
storage = "praefect-git-1"