【发布时间】:2019-07-18 03:59:32
【问题描述】:
我正在配置一个 mongodb 副本集。从我当前的主节点,当rs.add('host1:27017') 时,它会产生这个错误
Quorum check failed because not enough voting nodes responded; required 2 but only the following 1 voting nodes responded; the following nodes did not respond affirmatively; failed with Server min and max wire version are incompatible (7,7) with client min wire version (6,6)
在我的host1 和host2 机器上,我已经添加了具有相同replSetName、bind_ip 和暴露防火墙的replication 选项。作为证明,通过命令行mongo --host host1 我仍然可以连接到host1 的mongo 实例。 telnet 命令也产生同样的成功连接。我不知道如何解决这个问题。
【问题讨论】:
-
我曾经在主节点和其他节点不是同一个版本时遇到这个错误。
标签: mongodb replication replicaset mongodb-replica-set