diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-08-21 10:06:34 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-08-21 12:10:38 -0400 |
commit | f8cdaf32b6c44528123d8ffef7ea801a2f611745 (patch) | |
tree | 439a5b537649c5225b06b3d38b7859f2e386abc5 /src/mongo/s/chunk.h | |
parent | f24e4ddcc542959a5bf3f8cbbcb08796c3f8856f (diff) | |
download | mongo-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.h | 2 |
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; |