[SERVER-7649] mapReduce method is ignoring verbose = false Created: 13/Nov/12  Updated: 19/Mar/13  Resolved: 13/Nov/12

Status: Closed
Project: Core Server
Component/s: JavaScript, MapReduce
Affects Version/s: 2.2.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Archimedes Trajano Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Steps To Reproduce:

When passing in

{
out :

{ inline : 1 }

,
verbose : false
}

in the mapReduce method of a collection, it produces the following

"timeMillis" : 4,
"counts" :

{ "input" : 40, "emit" : 2, "reduce" : 0, "output" : 2 }

,

I am expecting that this information does not appear in the results.

Participants:

 Description   

The statistics of the mapReduce operation appears even if verbose was set to false.



 Comments   
Comment by Archimedes Trajano [ 14/Nov/12 ]

If it works as designed then the web site http://www.mongodb.org/display/DOCS/MapReduce#MapReduce-Overview should be updated.

It presently states

verbose - provide statistics on job execution time

which I have specified to be false but I am still getting timeMillis

This also happens on 2.0.7

Generated at Thu Feb 08 03:15:10 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.