[SERVER-24705] createIndex does not update Top Created: 22/Jun/16  Updated: 31/Jul/18  Resolved: 31/Jul/18

Status: Closed
Project: Core Server
Component/s: Diagnostics
Affects Version/s: None
Fix Version/s: 4.1.2

Type: Bug Priority: Minor - P4
Reporter: Kevin Albertson Assignee: Audrey Fang (Inactive)
Resolution: Done Votes: 4
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

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.

Sprint: 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
Participants:
Case:

 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.



 Comments   
Comment by Githook User [ 31/Jul/18 ]

Author:

{'username': 'audreyfang', 'name': 'Audrey Fang', 'email': 'audrey.fang@10gen.com'}

Message: SERVER-24705 Update top when createIndex is called
Branch: master
https://github.com/mongodb/mongo/commit/fa6a6dbd98f55889a1494817fd298f579ee48b8f

Comment by Cagri Yucel [ 23/May/18 ]

Hello, it is a bit frustrating to see this bug still existing on the Enterprise version after two years. We really appreciate if there is a way to expedite the fix.

Generated at Thu Feb 08 04:07:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.