From f56b0cc762899da21103878a49251cf23b01b279 Mon Sep 17 00:00:00 2001 From: Gregory Wlodarek Date: Wed, 20 Oct 2021 19:34:00 +0000 Subject: SERVER-60693 Update FCV references for secondary indexes on time-series measurements --- src/mongo/db/commands/set_feature_compatibility_version_command.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mongo/db/commands/set_feature_compatibility_version_command.cpp b/src/mongo/db/commands/set_feature_compatibility_version_command.cpp index 4941f1486a8..061faf02f6f 100644 --- a/src/mongo/db/commands/set_feature_compatibility_version_command.cpp +++ b/src/mongo/db/commands/set_feature_compatibility_version_command.cpp @@ -489,10 +489,10 @@ private: _cancelTenantMigrations(opCtx); - // Secondary indexes on time-series measurements are only supported in 5.1 and up. If the + // Secondary indexes on time-series measurements are only supported in 5.2 and up. If the // user tries to downgrade the cluster to an earlier version, they must first remove all // incompatible secondary indexes on time-series measurements. - if (requestedVersion < multiversion::FeatureCompatibilityVersion::kVersion_5_1) { + if (requestedVersion < multiversion::FeatureCompatibilityVersion::kVersion_5_2) { for (const auto& dbName : DatabaseHolder::get(opCtx)->getNames()) { Lock::DBLock dbLock(opCtx, dbName, MODE_IS); catalog::forEachCollectionFromDb( -- cgit v1.2.1