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

mapReduce verbose option does not default to true

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • Server_Docs_20231030
    • Affects Version/s: None
    • Component/s: manual
    • Labels:
      None
    • 0.5

      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.

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

              Created:
              Updated:
              Resolved:
              6 years, 8 weeks, 2 days ago