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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 2.6.6, 2.7.3
    • Affects Version/s: None
    • Component/s: Logging
    • None
    • Server 2.7.1, Server 2.7.3

      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.

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

              Created:
              Updated:
              Resolved: