diff options
author | Kevin Pulo <kevin.pulo@mongodb.com> | 2017-08-09 14:30:32 +1000 |
---|---|---|
committer | Kevin Pulo <kevin.pulo@mongodb.com> | 2017-08-09 14:30:32 +1000 |
commit | 9f2e54384d90ab0c533c6d311337d6bcc8fb5679 (patch) | |
tree | 7706ed8b5817cc9674a322f1043ab094b184ef9c /jstests/sharding/autosplit.js | |
parent | bf99c6ff2fbd95590aa86818c07b9bc121557f06 (diff) | |
download | mongo-9f2e54384d90ab0c533c6d311337d6bcc8fb5679.tar.gz |
SERVER-20392 remove early chunksize autosplit heuristic
Diffstat (limited to 'jstests/sharding/autosplit.js')
-rw-r--r-- | jstests/sharding/autosplit.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/jstests/sharding/autosplit.js b/jstests/sharding/autosplit.js index bb34021487f..0eba386b6a3 100644 --- a/jstests/sharding/autosplit.js +++ b/jstests/sharding/autosplit.js @@ -4,7 +4,12 @@ (function() { 'use strict'; - var s = new ShardingTest({name: "auto1", shards: 2, mongos: 1, other: {enableAutoSplit: true}}); + var s = new ShardingTest({ + name: "auto1", + shards: 2, + mongos: 1, + other: {enableAutoSplit: true, chunkSize: 10}, + }); assert.commandWorked(s.s0.adminCommand({enablesharding: "test"})); s.ensurePrimaryShard('test', 'shard0001'); |