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 02:25:06 +0000 |
commit | dd072345dfb74e2321c1ffc268ce791dfad42b93 (patch) | |
tree | 3b6b8eae96006b5cf7a65014ffd4f69c888a6683 /src/mongo/shell/servers.js | |
parent | fef0c3a59f8f84b143dd31e48fbd70890998cf89 (diff) | |
download | mongo-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.js | 1 |
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"; |