summaryrefslogtreecommitdiff
path: root/jstests/sharding/top_chunk_autosplit.js
diff options
context:
space:
mode:
authorRandolph Tan <randolph@10gen.com>2014-08-06 14:46:12 -0400
committerRandolph Tan <randolph@10gen.com>2014-08-06 14:46:12 -0400
commitd1ea3910fc9acd03a4964a66ff9b27ef1112a5c5 (patch)
treea98f1ea95745a12c50859e97ec1b13b49eb11ed0 /jstests/sharding/top_chunk_autosplit.js
parent94d9e73102a3e7b623d57635573066fcb5b0be97 (diff)
downloadmongo-d1ea3910fc9acd03a4964a66ff9b27ef1112a5c5.tar.gz
SERVER-14667 mongos does not move top chunk after auto-split
Added more comment to test
Diffstat (limited to 'jstests/sharding/top_chunk_autosplit.js')
-rw-r--r--jstests/sharding/top_chunk_autosplit.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jstests/sharding/top_chunk_autosplit.js b/jstests/sharding/top_chunk_autosplit.js
index 1b296738f78..6e465ce7bf5 100644
--- a/jstests/sharding/top_chunk_autosplit.js
+++ b/jstests/sharding/top_chunk_autosplit.js
@@ -16,6 +16,7 @@ st.startBalancer();
var configDB = st.s.getDB('config');
var topChunkBefore = configDB.chunks.find({}).sort({ min: -1 }).next();
+// This bulk insert should only trigger a single chunk move.
var largeStr = new Array(1024).join('x');
var bulk = testDB.user.initializeUnorderedBulkOp();
for (var x = 100; x < 1000; x++) {