[SERVER-11481] top command should be disallowed on mongos Created: 30/Oct/13  Updated: 28/Sep/16  Resolved: 19/Nov/13

Status: Closed
Project: Core Server
Component/s: Tools
Affects Version/s: 2.5.3
Fix Version/s: 2.5.5

Type: Bug Priority: Major - P3
Reporter: Siyuan Zhou Assignee: Shaun Verch
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
is documented by DOCS-9014 top command should be disallowed on m... Closed
Related
Operating System: ALL
Participants:

 Description   

Running top command on mongos gives the following successful result without any useful information.

{ "totals" : { "note" : "all times in microseconds" }, "ok" : 1 }

It would be better to disallow top command on mongos, since a user might expect a summary of statistics from all shards.

So far, mongotop shows an error when running against mongos, top command should follow the same way.



 Comments   
Comment by Githook User [ 19/Nov/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-11481: ignore top command during sharded auth test
Branch: master
https://github.com/mongodb/mongo/commit/eb1f40c7ef0c53047eda306db5185350deeac8d3

Comment by Githook User [ 19/Nov/13 ]

Author:

{u'username': u'Zarkantho', u'name': u'Shaun Verch', u'email': u'shaun.verch@10gen.com'}

Message: SERVER-11481 Do not register Top command on mongos
Branch: master
https://github.com/mongodb/mongo/commit/eda5e00441fed56511c65d1f493b7f271fa0c040

Generated at Thu Feb 08 03:25:54 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.