summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands
diff options
context:
space:
mode:
authorGregory Wlodarek <gregory.wlodarek@mongodb.com>2021-10-20 19:34:00 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-10-22 17:58:55 +0000
commitf56b0cc762899da21103878a49251cf23b01b279 (patch)
tree8bf202dca473ae66a0d25408a9a87e5ce7a6e070 /src/mongo/db/commands
parent8c36f85cd9a697e7419ea56ff80fa2a6449bcaf8 (diff)
downloadmongo-f56b0cc762899da21103878a49251cf23b01b279.tar.gz
SERVER-60693 Update FCV references for secondary indexes on time-series measurements
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r--src/mongo/db/commands/set_feature_compatibility_version_command.cpp4
1 files 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(