getIndexStats doesn't print correct index name

XMLWordPrintableJSON

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

      > 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
            Reporter:
            Asya Kamsky
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: