From ea5cad0a78809ddae12ed20ad15ed948edf10aaf Mon Sep 17 00:00:00 2001 From: Greg Studer Date: Thu, 7 Feb 2013 13:45:26 -0500 Subject: [PATCH] Update source/reference/command/enableSharding.txt Pretty sure the description here is wrong - need to provide the database name to enableSharding (it's an admin command that gets run against the admin database). --- source/reference/command/enableSharding.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/reference/command/enableSharding.txt b/source/reference/command/enableSharding.txt index dd72f315384..1fe002d0bbd 100644 --- a/source/reference/command/enableSharding.txt +++ b/source/reference/command/enableSharding.txt @@ -11,7 +11,7 @@ enableSharding .. code-block:: javascript - { enableSharding: 1 } + { enableSharding: "" } Once you've enabled sharding in a database, you can use the :dbcommand:`shardCollection` command to begin the process of distributing data among the shards.