Skip to content
代码片段 群组 项目
提交 7cdaf934 编辑于 作者: Achilleas Pipinellis's avatar Achilleas Pipinellis
浏览文件

Merge branch 'docs/restart-psql-can-resume-replication' into 'master'

Mention restarting PSQL can resume replication

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/137938



Merged-by: default avatarAchilleas Pipinellis <axil@gitlab.com>
Co-authored-by: default avatarAnton Smith <asmith@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -249,6 +249,8 @@ Pausing and resuming replication is done through a command-line tool from the no ...@@ -249,6 +249,8 @@ Pausing and resuming replication is done through a command-line tool from the no
If `postgresql` is on a standalone database node, ensure that `gitlab.rb` on that node contains the configuration line `gitlab_rails['geo_node_name'] = 'node_name'`, where `node_name` is the same as the `geo_node_name` on the application node. If `postgresql` is on a standalone database node, ensure that `gitlab.rb` on that node contains the configuration line `gitlab_rails['geo_node_name'] = 'node_name'`, where `node_name` is the same as the `geo_node_name` on the application node.
Also, be aware that if PostgreSQL is restarted after pausing replication (either by restarting the VM or restarting the service with `gitlab-ctl restart postgresql`), PostgreSQL automatically resumes replication, which is something you wouldn't want during an upgrade or in a planned failover scenario.
**To Pause: (from secondary)** **To Pause: (from secondary)**
```shell ```shell
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册