← All posts tagged doc

Документация:
sh.addShard( "sfo30.example.net" )
MongoDB will discover all other members of the replica set.
Реальность:
sh.addShard( "primary.shard1.mongo:27201" )
"errmsg" : "host is part of set: shard1 use replica set url format <setname>/<server1>,<server2>,...."

Ненавижу такие моменты.