-
Type: Bug
-
Resolution: Done
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
Sharding
-
ALL
If you have a new sharded system, where no shards have been actually added yet, its not possible to run any commands on dbs other than those that live on the config servers, even if those commands do not require writing anything to the database.
For example:
db.runCommand("serverStatus") 2013-11-21T11:56:11.620-0500 error: { "$err": "error creating initial database config information :: caused by :: can't find a shard to put new db on", "code": 10185 } at src/mongo/shell/query.js:131
This also prevents creating users on non-admin dbs before the first shard has been added: SERVER-11126
- is depended on by
-
SERVER-11126 addUser does not work on mongos without shards
- Closed
- related to
-
SERVER-12621 Reduce localhost exception permissions
- Closed