-
Type:
Bug
-
Resolution: Duplicate
-
Priority:
Major - P3
-
None
-
Affects Version/s: 2.0.6
-
Component/s: Sharding
-
None
-
Environment:mongodb-linux-i686-2.0.6
-
Linux
-
None
-
None
-
None
-
None
-
None
-
None
-
None
mongos> use bug
switched to db bug
mongos> db.t.insert(
)
_id cannot be an array
mongos> use admin
switched to db admin
mongos> db.runCommand(
);
{ "ok" : 1 }mongos> db.runCommand( { shardcollection : "bug.s", key :
{ _id : 1 }} )
{ "collectionsharded" : "bug.s", "ok" : 1 }mongos> use bug
switched to db bug
mongos> db.s.insert(
)
mongos> db.s.find()