summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_count_cmd.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-03-15 14:34:36 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-03-21 17:59:26 -0400
commitbbcff548d0c9922f6dc8f23a4dc8bd02ff9f57fc (patch)
tree47ff35dc41ee2b2126f6bd8c7b9159d15af60a8a /src/mongo/s/commands/cluster_count_cmd.cpp
parentaa90ee2e4d67c93abcbf19105cbbef22ba20e44f (diff)
downloadmongo-bbcff548d0c9922f6dc8f23a4dc8bd02ff9f57fc.tar.gz
SERVER-30375 Make 'renameCollection' attach databaseVersion and shardVersion=UNSHARDED
Diffstat (limited to 'src/mongo/s/commands/cluster_count_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_count_cmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/s/commands/cluster_count_cmd.cpp b/src/mongo/s/commands/cluster_count_cmd.cpp
index 568e0b40d02..ef0a753359a 100644
--- a/src/mongo/s/commands/cluster_count_cmd.cpp
+++ b/src/mongo/s/commands/cluster_count_cmd.cpp
@@ -146,6 +146,7 @@ public:
Grid::get(opCtx)->catalogCache()->getCollectionRoutingInfo(opCtx, nss));
shardResponses =
scatterGatherVersionedTargetByRoutingTable(opCtx,
+ nss.db(),
nss,
routingInfo,
countCmdObj,
@@ -258,6 +259,7 @@ public:
Grid::get(opCtx)->catalogCache()->getCollectionRoutingInfo(opCtx, nss));
shardResponses =
scatterGatherVersionedTargetByRoutingTable(opCtx,
+ nss.db(),
nss,
routingInfo,
explainCmd,