-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 2.0.33
-
Component/s: MongoDB 3.2
-
Empty show more show less
The following command runs indefinitely.
Code using command
db.command({aggregate: 'events', pipeline: []}, {maxTimeMS: 50000}, callback);
However, running:
Code using aggregate
db.events.aggregate([], {maxTimeMS: 50000}, callback);
Correctly stops after 50 seconds.