summaryrefslogtreecommitdiff
path: root/src/mongo/db/exec
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/exec
parent785c2ed58a5e98335faf37b14cef0bbce5832ee2 (diff)
downloadmongo-05a0f8e98b633a6e6c26c10576a1044f9da161b5.tar.gz
SERVER-56366 Update FCV constants to recognize 5.1 as latest
Diffstat (limited to 'src/mongo/db/exec')
-rw-r--r--src/mongo/db/exec/upsert_stage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/exec/upsert_stage.cpp b/src/mongo/db/exec/upsert_stage.cpp
index 1b352fc4d38..20904ae1909 100644
--- a/src/mongo/db/exec/upsert_stage.cpp
+++ b/src/mongo/db/exec/upsert_stage.cpp
@@ -279,7 +279,7 @@ void UpsertStage::_assertDocumentToBeInsertedIsValid(const mb::Document& documen
bool allowTopLevelDollarPrefixes =
serverGlobalParams.featureCompatibility.isVersionInitialized() &&
serverGlobalParams.featureCompatibility.isGreaterThanOrEqualTo(
- FeatureCompatibilityParams::Version::kVersion50);
+ FeatureCompatibilityParams::Version::kFullyDowngradedTo50);
storage_validation::storageValid(document,
allowTopLevelDollarPrefixes,
true, /* Should validate for storage */