diff options
Diffstat (limited to 'src/mongo/db/commands/mr.cpp')
-rw-r--r-- | src/mongo/db/commands/mr.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/commands/mr.cpp b/src/mongo/db/commands/mr.cpp index 9c46ddc41ab..b283bca37ef 100644 --- a/src/mongo/db/commands/mr.cpp +++ b/src/mongo/db/commands/mr.cpp @@ -664,7 +664,7 @@ namespace mongo { } void State::bailFromJS() { - log(1) << "M/R: Switching from JS mode to mixed mode" << endl; + LOG(1) << "M/R: Switching from JS mode to mixed mode" << endl; // reduce and reemit into c++ switchMode(false); @@ -822,7 +822,7 @@ namespace mongo { { dbtempreleasecond tl; if ( ! tl.unlocked() ) - log( LL_WARNING ) << "map/reduce can't temp release" << endl; + LOG( LL_WARNING ) << "map/reduce can't temp release" << endl; // reduce and finalize last array finalReduce( all ); } @@ -932,7 +932,7 @@ namespace mongo { // reduce now to lower mem usage Timer t; _scope->invoke(_reduceAll, 0, 0, 0, true); - log(1) << " MR - did reduceAll: keys=" << keyCt << " dups=" << dupCt << " newKeys=" << _scope->getNumberInt("_keyCt") << " time=" << t.millis() << "ms" << endl; + LOG(1) << " MR - did reduceAll: keys=" << keyCt << " dups=" << dupCt << " newKeys=" << _scope->getNumberInt("_keyCt") << " time=" << t.millis() << "ms" << endl; return; } } @@ -945,12 +945,12 @@ namespace mongo { long oldSize = _size; Timer t; reduceInMemory(); - log(1) << " MR - did reduceInMemory: size=" << oldSize << " dups=" << _dupCount << " newSize=" << _size << " time=" << t.millis() << "ms" << endl; + LOG(1) << " MR - did reduceInMemory: size=" << oldSize << " dups=" << _dupCount << " newSize=" << _size << " time=" << t.millis() << "ms" << endl; // if size is still high, or values are not reducing well, dump if ( _onDisk && (_size > _config.maxInMemSize || _size > oldSize / 2) ) { dumpToInc(); - log(1) << " MR - dumping to db" << endl; + LOG(1) << " MR - dumping to db" << endl; } } } @@ -1020,7 +1020,7 @@ namespace mongo { Config config( dbname , cmd ); - log(1) << "mr ns: " << config.ns << endl; + LOG(1) << "mr ns: " << config.ns << endl; uassert( 16149 , "cannot run map reduce without the js engine", globalScriptEngine ); |