Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
None
Description
http://docs.mongodb.org/manual/administration/sharding/#add-a-shard-to-a-cluster mentions specifying the name of a shard with:
sh.addShard( mongodb0.example.net, name: "mongodb0" )
|
That looks like a syntax error, and I don't believe the sh.addShard function actually supports a name at all, according to the console definition in 2.2:
> sh.addShard
|
function (url) {
|
return sh._adminCommand({addShard:url}, true);
|
}
|