summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Marshall <rmarshall@gitlab.com>2019-08-06 10:31:21 -0400
committerRobert Marshall <rmarshall@gitlab.com>2019-08-06 10:36:30 -0400
commitf253097ea44c09f947033eded89298215eef10c4 (patch)
tree85877db3e6af3aeb8c980eac540b39ae44e4077e
parent4aa824e7059889c7b8badb4bd43cc44f9a01201f (diff)
downloadgitlab-ce-65700-document-max-replication-slots-pg-ha.tar.gz
Add max_replication_slots to PG HA documentation65700-document-max-replication-slots-pg-ha
- 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 <rmarshall@gitlab.com>
-rw-r--r--changelogs/unreleased/65700-document-max-replication-slots-pg-ha.yml5
-rw-r--r--doc/administration/high_availability/database.md1
2 files changed, 6 insertions, 0 deletions
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)