summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-08-21 10:06:34 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-08-21 12:10:38 -0400
commitf8cdaf32b6c44528123d8ffef7ea801a2f611745 (patch)
tree439a5b537649c5225b06b3d38b7859f2e386abc5 /src/mongo/s/chunk.h
parentf24e4ddcc542959a5bf3f8cbbcb08796c3f8856f (diff)
downloadmongo-f8cdaf32b6c44528123d8ffef7ea801a2f611745.tar.gz
SERVER-19855 Use ShardConnection for migrations and splits
This ensures that prior to sending the operation on the wire, the host will be primed to know that it is part of a sharded cluster.
Diffstat (limited to 'src/mongo/s/chunk.h')
-rw-r--r--src/mongo/s/chunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/chunk.h b/src/mongo/s/chunk.h
index 1ec9a9447cb..822ac534380 100644
--- a/src/mongo/s/chunk.h
+++ b/src/mongo/s/chunk.h
@@ -261,7 +261,7 @@ private:
/**
* Returns the connection string for the shard on which this chunk resides.
*/
- std::string _getShardConnectionString() const;
+ ConnectionString _getShardConnectionString() const;
// if min/max key is pos/neg infinity
bool _minIsInf() const;