summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_create_indexes_cmd.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-02-27 15:56:37 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2018-03-05 18:15:00 -0500
commit763f5905c2c8cc9ce67387434f7343b3250f3e9d (patch)
treee78a7e02380f3e1a20a6ff1151d040da459fdc53 /src/mongo/s/commands/cluster_create_indexes_cmd.cpp
parentc207a0ced18bba58a8ad1b08df85b1e0a0b136f9 (diff)
downloadmongo-763f5905c2c8cc9ce67387434f7343b3250f3e9d.tar.gz
SERVER-27664 Use scatterGatherVersionedTargetByRoutingTable instead of passthrough in commands_public.cpp
This change replaces all usages of passthrough, which are used for sharded and unsharded collection routing from commands_public.cpp. All remaining usages of passthrough will be replaced with direct Shard::runCommand instead.
Diffstat (limited to 'src/mongo/s/commands/cluster_create_indexes_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_create_indexes_cmd.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/s/commands/cluster_create_indexes_cmd.cpp b/src/mongo/s/commands/cluster_create_indexes_cmd.cpp
index 67c63939043..84274d6f211 100644
--- a/src/mongo/s/commands/cluster_create_indexes_cmd.cpp
+++ b/src/mongo/s/commands/cluster_create_indexes_cmd.cpp
@@ -73,7 +73,6 @@ public:
auto shardResponses = scatterGatherOnlyVersionIfUnsharded(
opCtx,
- dbName,
nss,
CommandHelpers::filterCommandRequestForPassthrough(cmdObj),
ReadPreferenceSetting::get(opCtx),