标签: mongodb sharding
在我们的mongos查询路由器中注册分片时出现错误
然后添加sh.addShard(“ localhost:27012”)会给出错误
{ “ ok”:0, “ errmsg”:“没有这样的命令:'addShard',错误的cmd:'{addShard:\” localhost:27012 \“}'”, “代码”:59, “ codeName”:“ CommandNotFound” }