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

getIndexStats doesn't print correct index name

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.6.0-rc1
    • Affects Version/s: 2.4.9
    • Component/s: Tools
    • None
    • ALL

      > 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").

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

              Created:
              Updated:
              Resolved: