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

createIndex does not update Top

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 4.1.2
    • None
    • 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

    Description

      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.

      Attachments

        Activity

          People

            audrey.fang Audrey Fang (Inactive)
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: