From f253097ea44c09f947033eded89298215eef10c4 Mon Sep 17 00:00:00 2001 From: Robert Marshall Date: Tue, 6 Aug 2019 10:31:21 -0400 Subject: [PATCH] Add max_replication_slots to PG HA documentation - PostgreSQL high availability documentation does not mention `max_replication_slots` which must be set to work properly as the default value is zero. Resolves: https://gitlab.com/gitlab-org/gitlab-ce/issues/65700 Related: https://gitlab.com/gitlab-org/omnibus-gitlab/issues/4576 Related: https://gitlab.com/gitlab-org/distribution/team-tasks/issues/438 Signed-off-by: Robert Marshall --- .../65700-document-max-replication-slots-pg-ha.yml | 5 +++++ doc/administration/high_availability/database.md | 1 + 2 files changed, 6 insertions(+) create mode 100644 changelogs/unreleased/65700-document-max-replication-slots-pg-ha.yml diff --git a/changelogs/unreleased/65700-document-max-replication-slots-pg-ha.yml b/changelogs/unreleased/65700-document-max-replication-slots-pg-ha.yml new file mode 100644 index 00000000000..bacc3f5fc11 --- /dev/null +++ b/changelogs/unreleased/65700-document-max-replication-slots-pg-ha.yml @@ -0,0 +1,5 @@ +--- +title: Add max_replication_slots to PG HA documentation +merge_request: 31534 +author: +type: other diff --git a/doc/administration/high_availability/database.md b/doc/administration/high_availability/database.md index f7a1f425b40..7c9e02d889e 100644 --- a/doc/administration/high_availability/database.md +++ b/doc/administration/high_availability/database.md @@ -327,6 +327,7 @@ When installing the GitLab package, do not supply `EXTERNAL_URL` value. postgresql['sql_user_password'] = 'POSTGRESQL_PASSWORD_HASH' # Replace X with value of number of db nodes + 1 postgresql['max_wal_senders'] = X + postgresql['max_replication_slots'] = X # Replace XXX.XXX.XXX.XXX/YY with Network Address postgresql['trust_auth_cidr_addresses'] = %w(XXX.XXX.XXX.XXX/YY)