createIndex does not update Top

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 4.1.2
    • Affects Version/s: None
    • Component/s: Diagnostics
    • Fully Compatible
    • ALL
    • Hide

      In the shell run

      db.toptest.insert({a:1})
      db.toptest.createIndex({a:1})
      db.adminCommand("top")
      

      The entry for toptest shows a command count of 0.

      Show
      In the shell run db.toptest.insert({a:1}) db.toptest.createIndex({a:1}) db.adminCommand( "top" ) The entry for toptest shows a command count of 0.
    • Storage NYC 2018-06-18, Storage NYC 2018-07-02, Storage NYC 2018-07-16, Storage NYC 2018-07-30, Storage NYC 2018-08-13
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When running createIndex on a collection, Top does not update the command count for the collection. However, commands like dropIndex and getIndexes do update the command count.

              Assignee:
              Audrey Fang (Inactive)
              Reporter:
              Kevin Albertson
              Votes:
              4 Vote for this issue
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: