AntDB集群服务不可用,如何解决?

huangapple go评论58阅读模式
英文:

AntDB cluster service is unavailable, how to solve it?

问题

我是AntDB的新用户,在使用它时遇到了一些问题,我不知道该怎么办。AntDB集群服务不可用后,我应该怎么做?非常感谢。

我希望得到一些具体的建议。期待您的回复。

英文:

I'm a new user of antdb and I'm having trouble solving some problems while using it.
What should I do after AntDB cluster service is unavailable? Thanks a lot.

I want some specific suggestions. Looking forward to your reply.

答案1

得分: 0

以下是翻译好的部分:

检查来自管理节点的集群状态。如果在相同的 RAFT 切片下幸存的主机数量(mdb_config.mdb_machines_info.sharding_id>0)≤ 50%,则由于无法正确投票选举主节点,整个 RAFT 切片内的数据都无法进行读写操作。如果要访问的数据恰好位于此数据切片上,那么集群服务将不可用。只需将切片内的服务数量恢复到超过一半,问题就会自动解决。

希望对您有所帮助。

英文:

here is the solution:

Check the cluster status from the management node. If the number of hosts surviving under the same RAFT slice (mdb_config.mdb_machines_info.sharding_id>0) is ≤ 50%, the data within the entire RAFT slice is not read/writeable due to the inability to properly vote for a master, and if the data to be accessed happens to be on this data slice , it is the described case that cluster service is not available. Just restore the number of services within the slice to more than half, it can be automatically fixed.

Hope it helps.

huangapple
  • 本文由 发表于 2023年6月26日 17:21:52
  • 转载请务必保留本文链接:https://go.coder-hub.com/76555311.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定