Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11265

mapReduce verbose option does not default to true

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • None
    • manual
    • None
    • 0.5

    Description

      The description for the verbose option on the mapReduce command states:

      The verbose defaults to true to include the timing information.

      When implementing PHPLIB-53, I originally understood that to mean that the verbose option defaults to true; however, that is not the case. Going back to server version 3.0 (in my testing), it appears that timing is omitted from the mapReduce command result unless verbose: true is explicitly provided in the command document.

      I also sorted through the history of mr.cpp and found no record of the option ever having a default of true.

      SERVER-7649 is the only related ticket I've found on the subject, but examples therein only show an explicit value being used.

      Attachments

        Activity

          People

            allison.moore@mongodb.com Allison Reinheimer Moore
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 50 weeks, 1 day ago