From d5e9b4994557285017795d9ed9129341314da202 Mon Sep 17 00:00:00 2001 From: Esha Maharishi Date: Fri, 16 Jun 2017 16:15:45 -0400 Subject: SERVER-28418 make the split command on mongod return a stale version error if the requested chunk bounds are not found --- jstests/core/removeb.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'jstests/core/removeb.js') diff --git a/jstests/core/removeb.js b/jstests/core/removeb.js index 2141e138254..8d049e2439b 100644 --- a/jstests/core/removeb.js +++ b/jstests/core/removeb.js @@ -11,6 +11,9 @@ t.remove({}); // Insert some data. for (i = 0; i < 20000; ++i) { + if (i % 100 == 0) { + print(i + " of first set of 20000 documents inserted"); + } t.insert({a: i}); } @@ -23,7 +26,7 @@ p = startParallelShell( 'for( i = 20000; i < 40000; ++i ) {' + ' db.jstests_removeb.insert( { a:i } );' + ' if (i % 1000 == 0) {' + - ' print( i-20000 + \" of 20000 documents inserted\" );' + + ' print( i-20000 + \" of second set of 20000 documents inserted\" );' + ' }' + '}'); -- cgit v1.2.1