summaryrefslogtreecommitdiff
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 03:01:21 +0000
commit044cd0058a294d9dadedb15fcabce25e3c2c43a0 (patch)
tree9f16ea038f7b6a84cb900497fdc9e0f5b3f05592
parentb559cb1d481b020909461c268d88ab03ee73add6 (diff)
downloadmongo-044cd0058a294d9dadedb15fcabce25e3c2c43a0.tar.gz
SERVER-59353: Strip featureFlagRetryableFindAndModify for mongod binaries prior to 5.0
-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 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";