如果有3个ETCD节点,如果其中2个失败,则Apache Apisix仍然能够获得配置?为什么?
为了使用Apisix,我已经准备了一个带有三个节点的ETCD群集,我想问一下,如果两个节点失败,APSIX仍然可以正常获得配置吗? 另外,如果所有节点失败,apisix仍然可以正常工作吗?
In order to use APISIX I have prepared an etcd cluster with three nodes, I would like to ask that if two nodes fail, can APSIX still get the configuration normally?
Also if all the nodes fail will APISIX still work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,如果3个节点中的2个失败,则APISIX将无法获得配置,因为ETCD在RAFT共有算法上运行以在数据库中建立一致性。如果3个节点中的两个不可用,那么ETCD将无法建立法定状态,因此ETCD将变得不可用。
No, APISIX won't be able to get the configuration if 2 of the 3 nodes fail because etcd runs on the RAFT consensus algorithm to establish consistency in the database. If two of the 3 nodes are unavailable, etcd won't be able to establish a quorum status, thus etcd will become unavailable.