summaryrefslogtreecommitdiff
path: root/src/mongo/db/update/pipeline_executor.cpp
diff options
context:
space:
mode:
authorJon Streets <jonathan.streets@mongodb.com>2021-05-19 20:10:31 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-07-23 15:49:23 +0000
commit05a0f8e98b633a6e6c26c10576a1044f9da161b5 (patch)
tree3952e670c0e71987b5173eb02e1a279f60bf7b6e /src/mongo/db/update/pipeline_executor.cpp
parent785c2ed58a5e98335faf37b14cef0bbce5832ee2 (diff)
downloadmongo-05a0f8e98b633a6e6c26c10576a1044f9da161b5.tar.gz
SERVER-56366 Update FCV constants to recognize 5.1 as latest
Diffstat (limited to 'src/mongo/db/update/pipeline_executor.cpp')
-rw-r--r--src/mongo/db/update/pipeline_executor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/update/pipeline_executor.cpp b/src/mongo/db/update/pipeline_executor.cpp
index 3bd5ec062fe..c2e77fb1e90 100644
--- a/src/mongo/db/update/pipeline_executor.cpp
+++ b/src/mongo/db/update/pipeline_executor.cpp
@@ -104,7 +104,7 @@ UpdateExecutor::ApplyResult PipelineExecutor::applyUpdate(ApplyParams applyParam
bool allowTopLevelDollarPrefixedFields =
serverGlobalParams.featureCompatibility.isVersionInitialized() &&
serverGlobalParams.featureCompatibility.isGreaterThanOrEqualTo(
- FeatureCompatibilityParams::Version::kVersion50);
+ FeatureCompatibilityParams::Version::kFullyDowngradedTo50);
auto ret = ObjectReplaceExecutor::applyReplacementUpdate(
applyParams, transformedDoc, transformedDocHasIdField, allowTopLevelDollarPrefixedFields);