-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Operations Layer
-
None
There are several options that should be handled with decorateCommand in collection.aggregate, such as allowDiskUse, maxTimeMS, hint, and comment. It also appears that allowDiskUse and maxTimeMS are being set on command twice so this should be checked for accuracy.
db.stats should use decorateCommand for scale.