summaryrefslogtreecommitdiff
path: root/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-01-26 14:57:32 -0500
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2017-01-30 16:43:13 -0500
commit3942d88af18cd7a2d9fff8ea3800f8c7769e5c9f (patch)
treeb59c6fa5a7694b7b8a5d1a8c70d0752bc3236f66 /src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
parent2922aea4adf8e8fe9bab3a5d6e986e7aecba7228 (diff)
downloadmongo-3942d88af18cd7a2d9fff8ea3800f8c7769e5c9f.tar.gz
SERVER-27809 Move Chunk::splitIfShould to cluster_write.h/.cpp
Diffstat (limited to 'src/mongo/s/commands/cluster_merge_chunks_cmd.cpp')
-rw-r--r--src/mongo/s/commands/cluster_merge_chunks_cmd.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp b/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
index 26dde5698c9..7dd1aa79852 100644
--- a/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
+++ b/src/mongo/s/commands/cluster_merge_chunks_cmd.cpp
@@ -159,8 +159,8 @@ public:
remoteCmdObjB.append(
ClusterMergeChunksCommand::configField(),
Grid::get(txn)->shardRegistry()->getConfigServerConnectionString().toString());
- remoteCmdObjB.append(ClusterMergeChunksCommand::shardNameField(), firstChunk->getShardId());
-
+ remoteCmdObjB.append(ClusterMergeChunksCommand::shardNameField(),
+ firstChunk->getShardId().toString());
BSONObj remoteResult;