Details
-
Question
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
None
Description
The number of collections returned by db.stats() seems to correspond neither with the number of collection nor the number of namespaces. Paste this into the shell:
use teststats
db.stats()['collections'];
db.system.namespaces.find().length();
db.foo.save(
{a:1});
db.stats()['collections'];
db.system.namespaces.find().length();
db.bar.save(
{a: 1})
db.stats()['collections'];
db.system.namespaces.find().length();
Attachments
Issue Links
- is related to
-
SERVER-1308 system.namespaces doesn't have an entry in system.namespaces
-
- Closed
-