Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

delay starting MR until all data was inserted

  • Loading branch information...
commit ebfc1c32c2fab856cf9f66295f1dd69f69d95edb 1 parent 86b6240
Alberto Lerner authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 jstests/sharding/bigMapReduce.js
View
4 jstests/sharding/bigMapReduce.js
@@ -7,6 +7,10 @@ db = s.getDB( "test" );
var str=""
for (i=0;i<4*1024;i++) { str=str+"a"; }
for (j=0; j<50; j++) for (i=0; i<512; i++){ db.foo.save({y:str})}
+db.getLastError();
+
+s.printChunks();
+s.printChangeLog();
function map() { emit('count', 1); }
function reduce(key, values) { return Array.sum(values) }
Please sign in to comment.
Something went wrong with that request. Please try again.