summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/collection_sharding_runtime.cpp
diff options
context:
space:
mode:
authorArun Banala <arun.banala@mongodb.com>2021-06-08 10:40:21 +0100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-06-29 19:09:31 +0000
commit01fc797a67eeb398f90af39f22e55fb1a243298b (patch)
tree8fdb200e63aa42eb0e332b1f3876ef7bf282e14f /src/mongo/db/s/collection_sharding_runtime.cpp
parentde4fc40201d3a14a0725c9b280ded22f838a0479 (diff)
downloadmongo-01fc797a67eeb398f90af39f22e55fb1a243298b.tar.gz
SERVER-57315 Enable shardCollection command for a time series collection
Diffstat (limited to 'src/mongo/db/s/collection_sharding_runtime.cpp')
-rw-r--r--src/mongo/db/s/collection_sharding_runtime.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/s/collection_sharding_runtime.cpp b/src/mongo/db/s/collection_sharding_runtime.cpp
index d288cb7fcdc..c08134ab030 100644
--- a/src/mongo/db/s/collection_sharding_runtime.cpp
+++ b/src/mongo/db/s/collection_sharding_runtime.cpp
@@ -333,10 +333,6 @@ CollectionShardingRuntime::_getMetadataWithVersionCheckAt(
const auto& currentMetadata = optCurrentMetadata->get();
- uassert(ErrorCodes::NotImplemented,
- "Operations on sharded time-series collections are not supported",
- !currentMetadata.isSharded() || !currentMetadata.getTimeseriesFields());
-
auto wantedShardVersion = currentMetadata.getShardVersion();
{