summaryrefslogtreecommitdiff
path: root/src/mongo/db/views
diff options
context:
space:
mode:
authorAli Mir <ali.mir@mongodb.com>2020-04-13 17:55:35 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-04-22 00:15:51 +0000
commitc593d0fb6eec6b4f3c7ae02a5c3de73ad6e3af95 (patch)
treeaaecd6b4136dfb4fb54e5d4d7d04f526cb982166 /src/mongo/db/views
parentcc814e4c87c1ae20ef7c0840344496043dbdf18d (diff)
downloadmongo-c593d0fb6eec6b4f3c7ae02a5c3de73ad6e3af95.tar.gz
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
Diffstat (limited to 'src/mongo/db/views')
-rw-r--r--src/mongo/db/views/view_catalog.cpp6
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 38031abc2c1..28318df482b 100644
--- a/src/mongo/db/views/view_catalog.cpp
+++ b/src/mongo/db/views/view_catalog.cpp
@@ -329,11 +329,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.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;
}