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:
authorSami Hiltunen <shiltunen@gitlab.com>2020-12-17 18:07:02 +0300
committerSami Hiltunen <shiltunen@gitlab.com>2020-12-17 18:07:02 +0300
commita7d8845266631089fa98bc408e7b28282575c5d6 (patch)
tree365aaab30a3e38b944c2337a422f8376b30a05ef /.gitlab
parent1facf5b1b4bec64ee4f74b45e5c6df934279311e (diff)
fix incorrect demo script configuration
Variable replication factor's demo script contains some incorrect configuration lines. This commit corrects the situation.
Diffstat (limited to '.gitlab')
-rw-r--r--.gitlab/issue_templates/Demo.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab/issue_templates/Demo.md b/.gitlab/issue_templates/Demo.md
index 3e5f4f178..86a2a5ee8 100644
--- a/.gitlab/issue_templates/Demo.md
+++ b/.gitlab/issue_templates/Demo.md
@@ -146,8 +146,8 @@ Importantly for the demo, repository creation does not yet work. To work around
- [ ] Connect to Postgres in another terminal by running `/opt/gitlab/embedded/bin/psql -U praefect -d praefect_production -h <postgres address>` on a Praefect node.
- [ ] Ensure there are entries for every storage for both repositories in the `storage_repositories` table and
that they are all on the same generation.
- - [ ] Enable repository specific primaries by setting `default['praefect']['failover_election_strategy'] = 'per_repository'` in `/etc/gitlab/gitlab.rb` on Praefect nodes.
- - [ ] Disable the reconciler initially. Set `default['praefect']['reconciliation_scheduling_interval'] = 0` in `/etc/gitlab/gitlab.rb` on Praefect nodes.
+ - [ ] Enable repository specific primaries by setting `praefect['failover_election_strategy'] = 'per_repository'` in `/etc/gitlab/gitlab.rb` on Praefect nodes.
+ - [ ] Disable the reconciler initially. Set `praefect['reconciliation_scheduling_interval'] = 0` in `/etc/gitlab/gitlab.rb` on Praefect nodes.
- [ ] Reconfigure and restart the Praefect nodes by running `gitlab-ctl reconfigure`.
1. Demo:
- [ ] Attempt to set replication factor 0 for repository A by running `/opt/gitlab/embedded/bin/praefect -config /var/opt/gitlab/praefect/config.toml set-replication-factor -virtual-storage default -repository <relative path A> -replication-factor 0`. This should fail as the minimum replication factor is 0.