summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/config/configsvr_shard_collection_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/config/configsvr_shard_collection_command.cpp')
-rw-r--r--src/mongo/db/s/config/configsvr_shard_collection_command.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/s/config/configsvr_shard_collection_command.cpp b/src/mongo/db/s/config/configsvr_shard_collection_command.cpp
index 1ad8459f3f1..4dc2b459384 100644
--- a/src/mongo/db/s/config/configsvr_shard_collection_command.cpp
+++ b/src/mongo/db/s/config/configsvr_shard_collection_command.cpp
@@ -643,11 +643,6 @@ void migrateAndFurtherSplitInitialChunks(OperationContext* opCtx,
boost::optional<UUID> getUUIDFromPrimaryShard(const NamespaceString& nss,
ScopedDbConnection& conn) {
- // UUIDs were introduced in featureCompatibilityVersion 3.6.
- if (!serverGlobalParams.featureCompatibility.isSchemaVersion36()) {
- return boost::none;
- }
-
// Obtain the collection's UUID from the primary shard's listCollections response.
BSONObj res;
{