Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-7649

mapReduce method is ignoring verbose = false

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 2.2.1
    • JavaScript, MapReduce
    • None
    • ALL
    • Hide

      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.

      Show
      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.

    Description

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

      Attachments

        Activity

          People

            Unassigned Unassigned
            trajano Archimedes Trajano
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: