diff options
author | Eric Milkie <milkie@10gen.com> | 2014-08-29 16:34:24 -0400 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2014-08-29 17:17:00 -0400 |
commit | 0fbd416c565ec4af11990e64cab887af12fbf76f (patch) | |
tree | 2787feb1a82b00469c60de37a28767f806d06742 /src/mongo/db/repl/bgsync.cpp | |
parent | 746e8835b0b841235b767628d6ae0382a85bdab0 (diff) | |
download | mongo-0fbd416c565ec4af11990e64cab887af12fbf76f.tar.gz |
SERVER-15089 oplogreader use HostAndPort to connect instead of strings
Diffstat (limited to 'src/mongo/db/repl/bgsync.cpp')
-rw-r--r-- | src/mongo/db/repl/bgsync.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/repl/bgsync.cpp b/src/mongo/db/repl/bgsync.cpp index 86cad555c4f..2ed63b2b512 100644 --- a/src/mongo/db/repl/bgsync.cpp +++ b/src/mongo/db/repl/bgsync.cpp @@ -393,7 +393,7 @@ namespace repl { while ((target = theReplSet->getMemberToSyncTo()) != NULL) { string current = target->fullName(); - if (!r.connect(current)) { + if (!r.connect(target->h())) { LOG(2) << "replSet can't connect to " << current << " to read operations" << rsLog; r.resetConnection(); theReplSet->veto(current); |