| Steps To Reproduce: |
Create a sharded environment with one shard, a replica set named 'config'. Try to insert a document into an unsharded collection. You'll get the following error:
mongos> db.unsharded.insert({x:1})
|
2015-02-08T16:53:42.707-0500 E QUERY Error: Error: error: {
|
"$err" : "error creating initial database config information :: caused by :: can't find a shard to put new db on",
|
"code" : 10185
|
}
|
at Error (<anonymous>)
|
at DBCollection.insert (src/mongo/shell/collection.js:259:23)
|
at (shell):1:14 at src/mongo/shell/collection.js:259
|
|