summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/catalog/coll_mod.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mongo/db/catalog/coll_mod.cpp b/src/mongo/db/catalog/coll_mod.cpp
index 4ce332bd825..624b69e758d 100644
--- a/src/mongo/db/catalog/coll_mod.cpp
+++ b/src/mongo/db/catalog/coll_mod.cpp
@@ -159,13 +159,7 @@ StatusWith<std::pair<ParsedCollModRequest, BSONObj>> parseCollModRequest(Operati
}
if (cmr.getCappedSize() || cmr.getCappedMax()) {
- // TODO (SERVER-64042): Remove FCV check once 6.1 is released.
- if (serverGlobalParams.featureCompatibility.isVersionInitialized() &&
- serverGlobalParams.featureCompatibility.isLessThan(
- multiversion::FeatureCompatibilityVersion::kVersion_6_0)) {
- return {ErrorCodes::InvalidOptions,
- "Cannot change the size limits of a capped collection."};
- } else if (!coll->isCapped()) {
+ if (!coll->isCapped()) {
return {ErrorCodes::InvalidOptions, "Collection must be capped."};
} else if (coll->ns().isOplog()) {
return {ErrorCodes::InvalidOptions,