Details
-
Question
-
Resolution: Done
-
Critical - P2
-
None
-
None
-
None
-
None
Description
I ran the following :
sh.shardCollection(“DCU.UserData", { "id": "hashed" } )
|
and I simply cannot shard based on that key. Why ? This is a new production server we are setting up in AWS.
mongos> sh.shardCollection(“DCU.UserData", { "id": "hashed" } )
|
2015-06-08T17:09:28.921-0700 E QUERY SyntaxError: Unexpected token ILLEGAL
|
mongos> sh.shardCollection( “DCU.UserData", { id: "hashed" } )
|
2015-06-08T17:13:18.759-0700 E QUERY SyntaxError: Unexpected token ILLEGAL
|
mongos> sh.shardCollection( “DCU.UserData", { id: "hashed" } )
|
2015-06-08T17:14:41.012-0700 E QUERY SyntaxError: Unexpected token ILLEGAL
|