summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2016-04-12 18:36:21 -0400
committerSpencer T Brody <spencer@mongodb.com>2016-04-18 14:04:52 -0400
commita6caba6dd563c82c9662c1da6d9dffe37855381c (patch)
tree18f14348c12f2e7d1a51ab68e70f32bd034debee /src/mongo/db/commands
parent6b3b92d42fac804628d16d025e4de218b3df0360 (diff)
downloadmongo-a6caba6dd563c82c9662c1da6d9dffe37855381c.tar.gz
SERVER-23648 Move executorForAddShard out of ShardRegistry and into addShard imlementation
Diffstat (limited to 'src/mongo/db/commands')
-rw-r--r--src/mongo/db/commands/conn_pool_stats.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/commands/conn_pool_stats.cpp b/src/mongo/db/commands/conn_pool_stats.cpp
index 2a3b2881d45..ea668b35489 100644
--- a/src/mongo/db/commands/conn_pool_stats.cpp
+++ b/src/mongo/db/commands/conn_pool_stats.cpp
@@ -88,6 +88,7 @@ public:
auto registry = grid.shardRegistry();
if (registry) {
registry->appendConnectionStats(&stats);
+ grid.catalogManager(txn)->appendConnectionStats(&stats);
}
// Output to a BSON object.