diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-09-17 19:27:04 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-09-24 13:36:59 -0400 |
commit | 75f185e88b063ab13e0686552202de38618dec54 (patch) | |
tree | 3ee618d6e6c34f299c4dd65e0a77593a5a3b0b9f /src/mongo/shell/shardingtest.js | |
parent | 543f81a81d31098e464238398f5a20d1d2453b25 (diff) | |
download | mongo-75f185e88b063ab13e0686552202de38618dec54.tar.gz |
SERVER-20494 SERVER-20493 Change CatalogManagerReplicaSet to use Nearest read preference
Diffstat (limited to 'src/mongo/shell/shardingtest.js')
-rw-r--r-- | src/mongo/shell/shardingtest.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/shell/shardingtest.js b/src/mongo/shell/shardingtest.js index d2a5f95e060..3626adec27a 100644 --- a/src/mongo/shell/shardingtest.js +++ b/src/mongo/shell/shardingtest.js @@ -348,6 +348,9 @@ ShardingTest = function( testName , numShards , verboseLevel , numMongos , other var config = this.configRS.getReplSetConfig(); config.configsvr = true; + config.protocolVersion = 0; // SERVER-20604 + config.settings = config.settings || {}; + config.settings.heartbeatIntervalMillis = 100; // SERVER-20493 this.configRS.initiate(config); this.configRS.getMaster(); // Wait for master to be elected before starting mongos |