Details
-
Bug
-
Resolution: Done
-
Blocker - P1
-
None
-
None
-
Fully Compatible
-
ALL
Description
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" : {
|
...
|
Attachments
Issue Links
- 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
-
-
DOCS-4293 Old shell with wiredtiger will not return collection/index list
-
- Closed
-
-
SERVER-16225 Emulate query results for system.namespaces/indexes
-
- Closed
-
(1 is related to)