-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
when MetaService leader down, how long does it take to elect the new leader? #5434
Comments
你们服务数量是怎么样的?选举的话,遵循的是过半数选举成功,如果你挂掉一台,是偶数的话,也许选举是不会成功的。 |
我们产品默认是配置3台MetaService,可以正常选举leader的情况下,我们想知道重新选举leader的时间会不会导致图查询业务中断时间过长,所以我们想要知道最大成功选举leader时长是多少。另外如果有leader重新选则leader的原理材料就更好了 |
选举原理你可以参考下这篇知乎的文章,大家的原理都是类似的:https://zhuanlan.zhihu.com/p/91288179 NebulaGraph 里面的选举时间和 |
raft_heartbeat_interval_secs我理解是leader发起的心跳间隔时间,election timeout时间是在哪里配置的呢 |
由于历史命名原因,选举超时其实就是raft_heartbeat_interval_secs ,心跳间隔实际上是该值的三分之一左右:https://github.com/vesoft-inc/nebula/blob/master/src/kvstore/raftex/RaftPart.cpp#L1410 |
@lszChain 这个 issue 超过一个月没有更新内容了,这边先行关闭了。如果你有任何更新的内容,可以再打开这个 issue 哈。 谢谢你的反馈 😊 |
No description provided.
The text was updated successfully, but these errors were encountered: