summaryrefslogtreecommitdiff
path: root/src/mongo/shell/servers.js
diff options
context:
space:
mode:
authorDaniel Gottlieb <daniel.gottlieb@mongodb.com>2021-08-16 12:27:38 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-17 02:25:06 +0000
commitdd072345dfb74e2321c1ffc268ce791dfad42b93 (patch)
tree3b6b8eae96006b5cf7a65014ffd4f69c888a6683 /src/mongo/shell/servers.js
parentfef0c3a59f8f84b143dd31e48fbd70890998cf89 (diff)
downloadmongo-dd072345dfb74e2321c1ffc268ce791dfad42b93.tar.gz
SERVER-59353: Strip featureFlagRetryableFindAndModify for mongod binaries prior to 5.0
Diffstat (limited to 'src/mongo/shell/servers.js')
-rw-r--r--src/mongo/shell/servers.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/shell/servers.js b/src/mongo/shell/servers.js
index dcb2cd05198..df267d6ce39 100644
--- a/src/mongo/shell/servers.js
+++ b/src/mongo/shell/servers.js
@@ -697,6 +697,7 @@ MongoRunner.mongodOptions = function(opts = {}) {
_removeSetParameterIfBeforeVersion(
opts, "enableDefaultWriteConcernUpdatesForInitiate", "5.0.0");
_removeSetParameterIfBeforeVersion(opts, "enableReconfigRollbackCommittedWritesCheck", "5.0.0");
+ _removeSetParameterIfBeforeVersion(opts, "featureFlagRetryableFindAndModify", "5.0.0");
if (!opts.logFile && opts.useLogFiles) {
opts.logFile = opts.dbpath + "/mongod.log";