-
Type:
Question
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
-
None
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();
- is related to
-
SERVER-1308 system.namespaces doesn't have an entry in system.namespaces
-
- Closed
-