Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

delay starting MR until all data was inserted

  • Loading branch information...
commit ebfc1c32c2fab856cf9f66295f1dd69f69d95edb 1 parent 86b6240
authored October 25, 2010

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. 4  jstests/sharding/bigMapReduce.js
4  jstests/sharding/bigMapReduce.js
@@ -7,6 +7,10 @@ db = s.getDB( "test" );
7 7
 var str=""
8 8
 for (i=0;i<4*1024;i++) { str=str+"a"; }
9 9
 for (j=0; j<50; j++) for (i=0; i<512; i++){ db.foo.save({y:str})}
  10
+db.getLastError();
  11
+
  12
+s.printChunks();
  13
+s.printChangeLog();
10 14
 
11 15
 function map() { emit('count', 1); } 
12 16
 function reduce(key, values) { return Array.sum(values) } 

0 notes on commit ebfc1c3

Please sign in to comment.
Something went wrong with that request. Please try again.