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

createIndex does not update Top

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 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
    • 0
    • 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 Audrey Fang (Inactive)
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: