diff options
author | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-11-13 11:40:00 -0500 |
---|---|---|
committer | Tess Avitabile <tess.avitabile@mongodb.com> | 2018-11-14 13:04:24 -0500 |
commit | a058fc68c52fcc86a4c612c0093a566ea05e853d (patch) | |
tree | 8b239928a1b2e0012dd276c2bec147d52cb2844e /src | |
parent | 087f25379e9069f9034249e6e1000b1e2d29efaa (diff) | |
download | mongo-a058fc68c52fcc86a4c612c0093a566ea05e853d.tar.gz |
SERVER-38055 Mongod servers started through the shell must respect TestData.enableMajorityReadConcern
Diffstat (limited to 'src')
-rw-r--r-- | src/mongo/shell/servers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/servers.js b/src/mongo/shell/servers.js index 2119e5cef2f..61cb853173d 100644 --- a/src/mongo/shell/servers.js +++ b/src/mongo/shell/servers.js @@ -1146,7 +1146,7 @@ var MongoRunner, _startMongod, startMongoProgram, runMongoProgram, startMongoPro if (programName.endsWith('mongod')) { if (jsTest.options().storageEngine === "wiredTiger" || !jsTest.options().storageEngine) { - if (jsTest.options().enableMajorityReadConcern && + if (jsTest.options().enableMajorityReadConcern !== undefined && !argArrayContains("--enableMajorityReadConcern")) { argArray.push( ...['--enableMajorityReadConcern', |