mongodb - Replica set creation error: Quorum check failed because not enough voting nodes responded

mongodb - Replica set creation error: Quorum check failed because not enough voting nodes responded

我正在配置一个 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 机器上,我已经添加了具有相同 replSetNamebind_ip 和暴露防火墙的 replication 选项。作为证明,通过命令行 mongo --host host1 我仍然可以连接到 host1 的 mongo 实例。 telnet 命令也产生相同的成功连接。我不知道如何解决这个问题。

答案是所有3台机器必须有相同的4.0版本