[SERVER-1539] stats command ignores non-numeric values for scale Created: 02/Aug/10  Updated: 12/Jul/16  Resolved: 02/Aug/10

Status: Closed
Project: Core Server
Component/s: Usability
Affects Version/s: None
Fix Version/s: 1.5.8

Type: Bug Priority: Major - P3
Reporter: Michael Dirolf Assignee: Eliot Horowitz (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Probably should error out. Easy fix, but assigning to you because I imagine we want to wait to fix.



 Comments   
Comment by auto [ 02/Aug/10 ]

Author:

{'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}

Message: better error msg on collstats SERVER-1539
http://github.com/mongodb/mongo/commit/57b9d10710db98fc1750260cf97f2bc29a71aa6a

Comment by Scott Hernandez (Inactive) [ 02/Aug/10 ]

It would be good to update the docs to include the "scale" param. See the output of the "listCommands" command below:

...
collStats: read-lock

{ collStats:"blog.posts" }

...

Should read:

collStats: read-lock

{ collStats:"blog.posts", scale:1 }

//for KB use 1024

Generated at Thu Feb 08 02:57:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.