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

Mention restarting PSQL can resume replication

上级 532a65fa
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.
先完成此消息的编辑!
想要评论请 注册