Details
Description
db.printCollectionStats with scale will print errors repeatedly when running with an int <= 0 or a non-numeric value
eg
MongoDB 2.3.2-pre-> db.printCollectionStats(0)
|
foo
|
{ "ns" : "test.foo", "ok" : 0, "errmsg" : "scale has to be > 0" }
|
---
|
oplogr
|
{ "ns" : "test.oplogr", "ok" : 0, "errmsg" : "scale has to be > 0" }
|
---
|
system.indexes
|
{ "ns" : "test.system.indexes", "ok" : 0, "errmsg" : "scale has to be > 0" }
|
---
|
xs
|
{ "ns" : "test.xs", "ok" : 0, "errmsg" : "scale has to be > 0" }
|
---
|