summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2016-01-06 13:53:51 -0500
committerMisha Tyulenev <misha@mongodb.com>2016-01-06 13:57:33 -0500
commitecc8c18eb96a9626b79ee5686941e217aee27307 (patch)
tree0dbd3b85097c29550ef2fe24d5dca0ec864823bf
parente3615ee6dd75d8a895d57f79c0950cfb1b5cd6bc (diff)
downloadmongo-ecc8c18eb96a9626b79ee5686941e217aee27307.tar.gz
Revert "SERVER-21914: Make flushRouterConfig call ShardRegistry::reload()"
This reverts commit 4d59d95e81a634fbe719ac67f109157edc8a9666.
-rw-r--r--src/mongo/s/commands/cluster_flush_router_config_cmd.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_flush_router_config_cmd.cpp b/src/mongo/s/commands/cluster_flush_router_config_cmd.cpp
index cfcc05959d5..dbb52870602 100644
--- a/src/mongo/s/commands/cluster_flush_router_config_cmd.cpp
+++ b/src/mongo/s/commands/cluster_flush_router_config_cmd.cpp
@@ -30,7 +30,6 @@
#include "mongo/db/commands.h"
#include "mongo/s/catalog/catalog_cache.h"
-#include "mongo/s/client/shard_registry.h"
#include "mongo/s/config.h"
#include "mongo/s/grid.h"
@@ -71,7 +70,6 @@ public:
int options,
std::string& errmsg,
BSONObjBuilder& result) {
- grid.shardRegistry()->reload(txn);
grid.catalogCache()->invalidateAll();
result.appendBool("flushed", true);