diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2019-08-13 16:09:24 +0100 |
---|---|---|
committer | Bernard Gorman <bernard.gorman@gmail.com> | 2019-08-23 08:51:06 +0100 |
commit | 6a2c556dfaed34e641b64469d1de34dc88d36ec9 (patch) | |
tree | c44aa6a68e99462f086532c39f18c9ea20d627aa /src/mongo/db/views | |
parent | b6b81f34516ba7b1472cb1dd319da8785f24ae58 (diff) | |
download | mongo-6a2c556dfaed34e641b64469d1de34dc88d36ec9.tar.gz |
SERVER-41230 Update FCV constants throughout server code following 4.2 branch
SERVER-42162 Update Execution-related generic upgrade/downgrade references
SERVER-42642 Update Replication-related generic upgrade/downgrade references
SERVER-42592 Update Sharding-related generic upgrade/downgrade references
SERVER-42794 Update Query-related generic upgrade/downgrade references
SERVER-41545 Bump wire protocol version for 4.4
Diffstat (limited to 'src/mongo/db/views')
-rw-r--r-- | src/mongo/db/views/view_catalog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/views/view_catalog.cpp b/src/mongo/db/views/view_catalog.cpp index 6019a012b1a..a2de077d063 100644 --- a/src/mongo/db/views/view_catalog.cpp +++ b/src/mongo/db/views/view_catalog.cpp @@ -325,11 +325,11 @@ StatusWith<stdx::unordered_set<NamespaceString>> ViewCatalog::_validatePipeline( // Save this to a variable to avoid reading the atomic variable multiple times. auto currentFCV = serverGlobalParams.featureCompatibility.getVersion(); - // If the feature compatibility version is not 4.2, and we are validating features as master, - // ban the use of new agg features introduced in 4.2 to prevent them from being persisted in the + // If the feature compatibility version is not 4.4, and we are validating features as master, + // ban the use of new agg features introduced in 4.4 to prevent them from being persisted in the // catalog. if (serverGlobalParams.validateFeaturesAsMaster.load() && - currentFCV != ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo42) { + currentFCV != ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo44) { expCtx->maxFeatureCompatibilityVersion = currentFCV; } auto pipelineStatus = Pipeline::parse(viewDef.pipeline(), std::move(expCtx)); |