Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update replication-between-clusters.md #1616

Merged
merged 2 commits into from
Mar 31, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ Nebula Graph 支持在集群间进行数据同步,即主集群 A 的数据可

- 主从集群的数据同步是异步的(近实时)。

- 不支持多个主集群同步到 1 个从集群,只支持 1 对 1。
- 不支持多个主集群同步到 1 个从集群。

- 支持链式方式同步到多个从集群,例如`主集群->从集群1->从集群2->从集群3`。

## 操作步骤

Expand Down Expand Up @@ -66,7 +68,7 @@ drainer:机器 IP 地址为`192.168.10.104`,只启动 drainer 服务。

- 所有`nebula-graphd.conf`配置文件里设置`enable_authorize=true`。

- 主从集群填写各自的`meta_server_addrs`。
- 主从集群填写各自集群的`meta_server_addrs`,注意不要错填其他集群的地址

- listener 的配置文件里`meta_server_addrs`填写主集群的机器 IP,`meta_sync_listener`填写 listener 机器的 IP。

Expand Down Expand Up @@ -343,4 +345,4 @@ drainer:机器 IP 地址为`192.168.10.104`,只启动 drainer 服务。

<!--show sync-->

可以通过比较当前正在同步的 WAL 的时间戳和最新的 WAL 的时间戳,从而判断数据同步是否正常,也可以自行实现对进度的监控
暂无工具进行直接判断