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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor - P4
    • Resolution: Fixed
    • None
    • 2.6.6, 2.7.3
    • Logging
    • None
    • 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

            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            thomas.rueckstiess@mongodb.com Thomas Rueckstiess
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: