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

getIndexStats doesn't print correct index name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 2.4.9
    • 2.6.0-rc1
    • Tools
    • None
    • ALL

    Description

      > db.t1.getIndexStats({index:"_id_"});
      -- index "undefined" --
      ...

      This is because it prints stats.name instead of stats.index (indexStats returns the name in the field "index").

      Attachments

        Activity

          People

            asya.kamsky@mongodb.com Asya Kamsky
            asya.kamsky@mongodb.com Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: