-
Type:
Bug
-
Resolution: Done
-
Priority:
Blocker - P1
-
None
-
Affects Version/s: None
-
Component/s: Storage
-
Fully Compatible
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
test7:PRIMARY> show collections
test7:PRIMARY> db.a.insert({a:1})
WriteResult({ "nInserted" : 1 })
test7:PRIMARY> show collections
test7:PRIMARY> db.a.find()
{ "_id" : ObjectId("545b6bba4cabb8d975e9e665"), "a" : 1 }
{ "_id" : ObjectId("545b6bba4cabb8d975e9e665"), "a" : 1 }
Type "it" for more
test7:PRIMARY> show collections
test7:PRIMARY> db.adminCommand("listCollections")
{ "collections" : [ ], "ok" : 1 }
test7:PRIMARY> use local
switched to db local
test7:PRIMARY> db.adminCommand("listCollections")
{ "collections" : [ ], "ok" : 1 }
test7:PRIMARY> show collections
test7:PRIMARY> db.oplog.rs.stats()
{
"ns" : "local.oplog.rs",
"count" : 2097152,
"size" : 201326592,
"avgObjSize" : 96,
"storageSize" : 89,
"nindexes" : 0,
"capped" : true,
"max" : -1,
"maxSize" : 201326592,
"wiredtiger" : {
"uri" : "statistics:table:collection-6-2589753951712478342",
"LSM" : {
...
- is duplicated by
-
SERVER-16128 Some pre-2.8 CLI shell functions incompatible with wiredtiger
-
- Closed
-
-
SERVER-16267 Show Tables/Collections fails with 2.6 client and WT Engine
-
- Closed
-
-
SERVER-16361 Show collections returns empty list
-
- Closed
-
- is related to
-
SERVER-16224 db.getCollectionNames() returns empty array
-
- Closed
-
-
SERVER-16225 Emulate query results for system.namespaces/indexes
-
- Closed
-