-
Notifications
You must be signed in to change notification settings - Fork 198
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
HA数据同步问题 #845
Comments
是用bolt执行的么?目前bolt的高可用还在开发中。可以先用TuGraph Java SDK。 |
OK,使用Java SDK确实可以同步数据了。 |
一主多备的架构下,是否可以配置只能向主节点写数据,备节点只能读不能写? |
是的,只能向master节点写入 |
具体是由客户端保证还是服务端有相关的配置呢? |
在web上的从节点写入会有弹框提示非master节点禁止写入,通过SDK调用接口写入,请求会自动发到master节点上 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
搭建HA发现备节点加入集群时可以一次性同步主节点数据,之后再向主节点写入数据,备节点数据并无变化。
使用web控制台操作,取的是最新版本,在主节点执行的命令是类似:create (n: abc {name: 'a1', id: 10000, age: 25})
不知道是哪边配置错误,还是命令执行有误?
The text was updated successfully, but these errors were encountered: