diff options
author | Daniel Gottlieb <daniel.gottlieb@mongodb.com> | 2021-08-16 12:27:38 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-08-17 03:01:21 +0000 |
commit | 044cd0058a294d9dadedb15fcabce25e3c2c43a0 (patch) | |
tree | 9f16ea038f7b6a84cb900497fdc9e0f5b3f05592 | |
parent | b559cb1d481b020909461c268d88ab03ee73add6 (diff) | |
download | mongo-044cd0058a294d9dadedb15fcabce25e3c2c43a0.tar.gz |
SERVER-59353: Strip featureFlagRetryableFindAndModify for mongod binaries prior to 5.0
-rw-r--r-- | src/mongo/shell/servers.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/shell/servers.js b/src/mongo/shell/servers.js index 1d8b818e3b3..ca9e0064e82 100644 --- a/src/mongo/shell/servers.js +++ b/src/mongo/shell/servers.js @@ -698,6 +698,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"; |