Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-20753

Broken "show dbs" when WiredTiger is built as a separate library

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Build, WiredTiger
    • None
    • ALL

    Description

      With WiredTiger 2.6.1 and MongoDB 3.0.6, the show dbs command doesn't work, with the following error :

      > show dbs
      2015-10-05T09:28:13.964+0000 E QUERY    Error: listDatabases failed:{
      	"errmsg" : "exception: unable to open cursor at URI statistics:table:collection-7--7027075706490972526. reason: Invalid argument",
      	"code" : 43,
      	"ok" : 0
      }
          at Error (<anonymous>)
          at Mongo.getDBs (src/mongo/shell/mongo.js:47:15)
          at shellHelper.show (src/mongo/shell/utils.js:630:33)
          at shellHelper (src/mongo/shell/utils.js:524:36)
          at (shellhelp2):1:1 at src/mongo/shell/mongo.js:47
      > 
      

      And this line appears in the mongod.log file :

      2015-10-05T11:28:13.957+0200 E STORAGE  [conn222] WiredTiger (22) [1444037293:957932][23869:0x7f2a1c517700], WT_SESSION.open_cursor: Value 'size' not a permitted choice for key 'statistics': Invalid argument
      

      This server has been installed with 3.0.0, then upgraded to 3.0.3, then finally to 3.0.6, in case that could explain the issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            Thias Matthias Saou
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: