summaryrefslogtreecommitdiff
path: root/jstests
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2017-06-16 16:15:45 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2017-06-23 12:07:58 -0400
commitc92405d5051e1b570bfb3d5525cb96c7592baf54 (patch)
tree3d03d02d88ab7443584e7c341e6fd36fa3f414cb /jstests
parentb5cc787bd3d7f5299d8450873343d1363446b1f1 (diff)
downloadmongo-c92405d5051e1b570bfb3d5525cb96c7592baf54.tar.gz
SERVER-28418 make the split command on mongod return a stale version error if the requested chunk bounds are not found
Diffstat (limited to 'jstests')
-rw-r--r--jstests/core/removeb.js5
1 files changed, 4 insertions, 1 deletions
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\" );' +
' }' +
'}');