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

Increase log level of "did reduceInMemory" message in map/reduce

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.6.6, 2.7.3
    • Component/s: Logging
    • Labels:
      None
    • Backport Completed:
    • Sprint:
      Server 2.7.1, Server 2.7.3

      Description

      src/mongo/db/commands/mr.cpp:1135:                LOG(1) << "  MR - did reduceInMemory: size=" << oldSize << " dups=" << _dupCount << " newSize=" << _size << " time=" << t.millis() << "ms" << endl

      On log level 1, this message prints thousands of lines to the log file, even for short map/reduce jobs (10000 lines in 20 seconds). This makes it hard to diagnose other issues unrelated to map/reduce tasks on that log level.

      I'd suggest to increase the level to 2 or 3.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: