summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Noma <gregory.noma@gmail.com>2022-11-28 18:37:00 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-11-28 19:22:58 +0000
commitc24ee3b98bdf06bed6602f058df1e137997f9b82 (patch)
tree89193ac3e0f385775ef79d62403573a5f62bf10a
parentfb9a90554f0ef958457dba78a752003071385534 (diff)
downloadmongo-c24ee3b98bdf06bed6602f058df1e137997f9b82.tar.gz
SERVER-69319 Remove `featureFlagTimeseriesUpdatesAndDeletes`
-rw-r--r--src/mongo/db/commands/write_commands.cpp8
-rw-r--r--src/mongo/db/storage/storage_parameters.idl5
2 files changed, 0 insertions, 13 deletions
diff --git a/src/mongo/db/commands/write_commands.cpp b/src/mongo/db/commands/write_commands.cpp
index 1bc460c4436..ebcf254d83f 100644
--- a/src/mongo/db/commands/write_commands.cpp
+++ b/src/mongo/db/commands/write_commands.cpp
@@ -1659,10 +1659,6 @@ public:
}
if (isTimeseries(opCtx, request())) {
- uassert(ErrorCodes::InvalidOptions,
- "Time-series updates are not enabled",
- feature_flags::gTimeseriesUpdatesAndDeletes.isEnabled(
- serverGlobalParams.featureCompatibility));
uassert(ErrorCodes::OperationNotSupportedInTransaction,
str::stream() << "Cannot perform a multi-document transaction on a "
"time-series collection: "
@@ -1870,10 +1866,6 @@ public:
}
if (isTimeseries(opCtx, request())) {
- uassert(ErrorCodes::InvalidOptions,
- "Time-series deletes are not enabled",
- feature_flags::gTimeseriesUpdatesAndDeletes.isEnabled(
- serverGlobalParams.featureCompatibility));
uassert(ErrorCodes::OperationNotSupportedInTransaction,
str::stream() << "Cannot perform a multi-document transaction on a "
"time-series collection: "
diff --git a/src/mongo/db/storage/storage_parameters.idl b/src/mongo/db/storage/storage_parameters.idl
index a4f1b2d8602..a62006056b8 100644
--- a/src/mongo/db/storage/storage_parameters.idl
+++ b/src/mongo/db/storage/storage_parameters.idl
@@ -143,11 +143,6 @@ feature_flags:
cpp_varname: feature_flags::gClusteredIndexes
default: true
version: 5.3
- featureFlagTimeseriesUpdatesAndDeletes:
- description: "When enabled, support for updates and deletes on time-series collections"
- cpp_varname: feature_flags::gTimeseriesUpdatesAndDeletes
- default: true
- version: 5.0
featureFlagTimeseriesMetricIndexes:
description: "When enabled, support secondary indexes on time-series measurements"
cpp_varname: feature_flags::gTimeseriesMetricIndexes