[SERVER-16128] Some pre-2.8 CLI shell functions incompatible with wiredtiger Created: 13/Nov/14  Updated: 10/Dec/14  Resolved: 13/Nov/14

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 2.6.5, 2.8.0-rc0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Buzz Moschetti Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-15987 listCollections and getIndexes empty ... Closed
is duplicated by SERVER-16267 Show Tables/Collections fails with 2.... Closed
Operating System: ALL
Steps To Reproduce:

buzz@IDF-IBM-Test-1 ~]$ /usr/bin/mongo -version
MongoDB shell version: 2.6.5
[buzz@IDF-IBM-Test-1 ~]$ /usr/bin/mongo
MongoDB shell version: 2.6.5
connecting to: test
Server has startup warnings: 
2014-11-13T20:11:53.982-0500 I CONTROL  [initandlisten] 
2014-11-13T20:11:53.982-0500 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2014-11-13T20:11:53.982-0500 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2014-11-13T20:11:53.982-0500 I CONTROL  [initandlisten] 
> db.version();
2.8.0-rc0
> use dbPoem;
switched to db dbPoem
> show collections;
> 
> db.TEST.count();
8000000
> db.TEST.getIndexes();
[ ]
> quit();
 
[buzz@IDF-IBM-Test-1 ~]$ ~/wtmongo/mongo -version
MongoDB shell version: 2.8.0-rc0
[buzz@IDF-IBM-Test-1 ~]$ ~/wtmongo/mongo
MongoDB shell version: 2.8.0-rc0
connecting to: test
Server has startup warnings: 
2014-11-13T20:11:53.982-0500 I CONTROL  [initandlisten] 
2014-11-13T20:11:53.982-0500 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2014-11-13T20:11:53.982-0500 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2014-11-13T20:11:53.982-0500 I CONTROL  [initandlisten] 
> db.version();
2.8.0-rc0
>  use dbPoem;
switched to db dbPoem
> show collections;
TEST
>  db.TEST.count();
8000000
> db.TEST.getIndexes();
[
  {
    "ns": "dbPoem.TEST",
    "name": "_id_",
    "key": {
      "_id": 1
    },
    "v": 1
  }
]
> 

Participants:

 Description   

Running 2.8.0rc0 Linux on IBM Centos6 machine.
Trying production 2.6.5 mongo client and new rc0 client against that DB.
show collections returns nothing and getIndexes() returns an empty array from the 2.6.5 client.



 Comments   
Comment by Eric Milkie [ 13/Nov/14 ]

Also, please note that the storage engine you were using in your example is important (and affects the behavior).

Comment by J Rassi [ 13/Nov/14 ]

Resolving as dup of SERVER-15987.

Generated at Thu Feb 08 03:40:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.