-
Type: Improvement
-
Resolution: Done
-
Priority: Minor - P4
-
Affects Version/s: 2.1.2
-
Component/s: None
-
None
-
Fully Compatible
Currently the only parameter that the "collMod" command can parse is "usePowerOf2Sizes". If you spell "usePowerOf2Sizes" wrong, or put anything else in there, the command still returns
{ "ok" : 1}. This is confusing. The command should have better return reporting.
There are different ways to deal with this. I'm in favor of just having the command return
{ "ok" : 0}(with an appropriate error message) if you pass in other BSON elements it doesn't know what to do with.
- related to
-
SERVER-5046 per collection option to pad to power of 2
- Closed