diff options
author | Misha Tyulenev <misha@mongodb.com> | 2017-10-13 16:49:36 -0400 |
---|---|---|
committer | Misha Tyulenev <misha@mongodb.com> | 2017-10-13 16:49:53 -0400 |
commit | 10dbb695223d08dd5a4412e1319228496d606b13 (patch) | |
tree | 929241a376164d2dde01fbc0ac34a7ecd1883d5b | |
parent | f6e461f9a2680b48606658c2010ca6f20ee8e8b7 (diff) | |
download | mongo-10dbb695223d08dd5a4412e1319228496d606b13.tar.gz |
SERVER-31451 fix causallyConsistent flag in ShardingTest
-rw-r--r-- | src/mongo/shell/shardingtest.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/shardingtest.js b/src/mongo/shell/shardingtest.js index cc46c16b7c5..91c3d7f0d14 100644 --- a/src/mongo/shell/shardingtest.js +++ b/src/mongo/shell/shardingtest.js @@ -1424,7 +1424,7 @@ var ShardingTest = function(params) { throw new Error("Failed to start mongos " + i); } - if (options.causallyConsistent) { + if (otherParams.causallyConsistent) { conn.setCausalConsistency(true); } |