summaryrefslogtreecommitdiff
path: root/src/mongo/db/s/flush_routing_table_cache_updates_command.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/s/flush_routing_table_cache_updates_command.cpp')
-rw-r--r--src/mongo/db/s/flush_routing_table_cache_updates_command.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/s/flush_routing_table_cache_updates_command.cpp b/src/mongo/db/s/flush_routing_table_cache_updates_command.cpp
index 6562c664519..ac2e22b78c8 100644
--- a/src/mongo/db/s/flush_routing_table_cache_updates_command.cpp
+++ b/src/mongo/db/s/flush_routing_table_cache_updates_command.cpp
@@ -112,11 +112,6 @@ public:
<< " if in read-only mode",
!storageGlobalParams.readOnly);
- uassert(ErrorCodes::IllegalOperation,
- str::stream() << "Can only call " << Derived::Request::kCommandName
- << " on collections",
- !ns().coll().empty());
-
boost::optional<SharedSemiFuture<void>> criticalSectionSignal;
{