mongodb-副本集创建错误:仲裁检查失败,因为没有足够的投票节点响应

时间:2019-07-18 03:59:32

标签: mongodb replication replicaset mongodb-replica-set

我正在配置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)

在我的host1host2机器上,我已经使用相同的replicationreplSetName和暴露的防火墙添加了bind_ip选项。作为证明,通过命令行mongo --host host1,我仍然可以连接到host1的mongo实例。 telnet命令还会产生相同的成功连接。我不知道该如何解决。

1 个答案:

答案 0 :(得分:0)

答案是,所有3台计算机必须具有相同的版本4.0