From c593d0fb6eec6b4f3c7ae02a5c3de73ad6e3af95 Mon Sep 17 00:00:00 2001 From: Ali Mir Date: Mon, 13 Apr 2020 17:55:35 -0400 Subject: SERVER-46323 Update FCV constants throughout server code following 4.4 branch SERVER-46589 Update Execution-related generic upgrade/downgrade references SERVER-46587 Update Replication-related generic upgrade/downgrade references SERVER-46839 Update Sharding-related generic upgrade/downgrade references SERVER-46590 Update Query-related generic upgrade/downgrade references SERVER-46318 Bump wire protocol version for 4.6 SERVER-46313 Bump Powercycle FCV --- src/mongo/db/views/view_catalog.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mongo/db/views') diff --git a/src/mongo/db/views/view_catalog.cpp b/src/mongo/db/views/view_catalog.cpp index 38031abc2c1..28318df482b 100644 --- a/src/mongo/db/views/view_catalog.cpp +++ b/src/mongo/db/views/view_catalog.cpp @@ -329,11 +329,11 @@ StatusWith> 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.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 + // If the feature compatibility version is not 4.6, and we are validating features as master, + // ban the use of new agg features introduced in 4.6 to prevent them from being persisted in the // catalog. if (serverGlobalParams.validateFeaturesAsMaster.load() && - currentFCV != ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo44) { + currentFCV != ServerGlobalParams::FeatureCompatibility::Version::kFullyUpgradedTo46) { expCtx->maxFeatureCompatibilityVersion = currentFCV; } -- cgit v1.2.1