-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.7
-
Component/s: Sharding
-
Labels:None
-
ALL
-
When calling ismaster on the mongos proxy the command will fail if there is no shard with the following error. This is confirmed to happen on 3.0.x and earlier but not on 3.2.x.
mongos> db.runCommand({ismaster:true}) 2015-11-19T14:32:20.397+0100 E QUERY 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 DBQuery.next (src/mongo/shell/query.js:259:15) at DBCollection.findOne (src/mongo/shell/collection.js:189:22) at DB.runCommand (src/mongo/shell/db.js:58:41) at (shell):1:4 at src/mongo/shell/query.js:259