Mongodb reported an error when adding fragments.

  mongodb, question

The mongodb cluster was built, and the first two replica sets were added successfully. At the third time, because one of the ip addresses was written incorrectly, the error was reported when the add fragment command was executed again after modification.

mongos>sh.addShard("shard3/192.168.1.60:27003,192.168.1.61:27003,192.168.1.62:27003")

图片描述
图片描述

These guysmongodThe versions used by the instances are inconsistent.
shard1shard2With3.4.10.27003What are the three version numbers of the ports?