summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_drop_collection_cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/commands/cluster_drop_collection_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_drop_collection_cmd.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/s/commands/cluster_drop_collection_cmd.cpp b/src/mongo/s/commands/cluster_drop_collection_cmd.cpp
index 40e9196371f..e16f473ab3c 100644
--- a/src/mongo/s/commands/cluster_drop_collection_cmd.cpp
+++ b/src/mongo/s/commands/cluster_drop_collection_cmd.cpp
@@ -33,7 +33,6 @@
#include "mongo/base/status.h"
#include "mongo/db/auth/authorization_session.h"
-#include "mongo/db/catalog/collection_uuid_mismatch_info.h"
#include "mongo/db/commands.h"
#include "mongo/db/drop_gen.h"
#include "mongo/db/operation_context.h"
@@ -117,13 +116,6 @@ public:
// Ensure our reply conforms to the IDL-defined reply structure.
return DropReply::parse({"drop"}, resultObj);
} catch (const ExceptionFor<ErrorCodes::NamespaceNotFound>&) {
- uassert(CollectionUUIDMismatchInfo(request().getDbName().toString(),
- *request().getCollectionUUID(),
- request().getNamespace().coll().toString(),
- boost::none),
- "Database does not exist",
- !request().getCollectionUUID());
-
// If the namespace isn't found, treat the drop as a success but inform about the
// failure.
DropReply reply;