diff options
author | Greg Studer <greg@10gen.com> | 2013-10-28 17:28:24 -0400 |
---|---|---|
committer | Greg Studer <greg@10gen.com> | 2013-11-01 10:10:03 -0400 |
commit | af91bd74e7ecbd06ecf20136fd7b06f8e8f4a49d (patch) | |
tree | eca5ce0fcd5579cef92d8e762e767d5470804303 /src/mongo/s/ns_targeter.h | |
parent | a6678a47b6e2700a502984cc1b990ded37f61c7f (diff) | |
download | mongo-af91bd74e7ecbd06ecf20136fd7b06f8e8f4a49d.tar.gz |
SERVER-10818 host resolver to handle DBClientRS connections
Diffstat (limited to 'src/mongo/s/ns_targeter.h')
-rw-r--r-- | src/mongo/s/ns_targeter.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/mongo/s/ns_targeter.h b/src/mongo/s/ns_targeter.h index 4fd5b16b17a..3bebd2edb49 100644 --- a/src/mongo/s/ns_targeter.h +++ b/src/mongo/s/ns_targeter.h @@ -143,20 +143,16 @@ namespace mongo { } ShardEndpoint( const ShardEndpoint& other ) : - shardName( other.shardName ), - shardVersion( other.shardVersion ), - shardHost( other.shardHost ) { + shardName( other.shardName ), shardVersion( other.shardVersion ) { } ShardEndpoint( const string& shardName, - const ChunkVersion& shardVersion, - const ConnectionString& shardHost ) : - shardName( shardName ), shardVersion( shardVersion ), shardHost( shardHost ) { + const ChunkVersion& shardVersion ) : + shardName( shardName ), shardVersion( shardVersion ) { } const std::string shardName; const ChunkVersion shardVersion; - const ConnectionString shardHost; // // For testing *only* - do not use as part of API @@ -171,7 +167,6 @@ namespace mongo { void appendBSON( BSONObjBuilder* builder ) const { builder->append( "shardName", shardName ); shardVersion.addToBSON( *builder, "shardVersion" ); - builder->append( "shardHost", shardHost.toString() ); } }; |