diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-03-12 17:27:34 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2017-03-12 17:27:34 -0400 |
commit | 8125c55a251805899552d0af4776930216223703 (patch) | |
tree | 3e1a43aa762a2136422b4fa66f70ee89222d29a1 /src/mongo/s/commands/cluster_flush_router_config_cmd.cpp | |
parent | ae2518adace4ba7ed6a16eba6943bff6ea4ade10 (diff) | |
download | mongo-8125c55a251805899552d0af4776930216223703.tar.gz |
Revert "SERVER-22611 Sharding catalog cache refactor"
This reverts commit ae2518adace4ba7ed6a16eba6943bff6ea4ade10.
Diffstat (limited to 'src/mongo/s/commands/cluster_flush_router_config_cmd.cpp')
-rw-r--r-- | src/mongo/s/commands/cluster_flush_router_config_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 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 8931166863c..35150ac3aca 100644 --- a/src/mongo/s/commands/cluster_flush_router_config_cmd.cpp +++ b/src/mongo/s/commands/cluster_flush_router_config_cmd.cpp @@ -70,7 +70,7 @@ public: int options, std::string& errmsg, BSONObjBuilder& result) { - Grid::get(opCtx)->catalogCache()->purgeAllDatabases(); + Grid::get(opCtx)->catalogCache()->invalidateAll(); result.appendBool("flushed", true); return true; |