我正在配置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
机器上,我已经使用相同的replication
,replSetName
和暴露的防火墙添加了bind_ip
选项。作为证明,通过命令行mongo --host host1
,我仍然可以连接到host1
的mongo实例。 telnet
命令还会产生相同的成功连接。我不知道该如何解决。
答案 0 :(得分:0)
答案是,所有3台计算机必须具有相同的版本4.0