summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_source_feedback.h
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2014-09-23 14:46:55 -0400
committerEric Milkie <milkie@10gen.com>2014-09-26 11:27:06 -0400
commite86e08deff7293b5778fad27df9031c013595b12 (patch)
tree9c24931717b261980a0591ab40192cbac9d101ce /src/mongo/db/repl/sync_source_feedback.h
parent128ef4c4bcf312fbe6339181e377d12744165cf9 (diff)
downloadmongo-e86e08deff7293b5778fad27df9031c013595b12.tar.gz
SERVER-15089 Add new Applier class and remove theReplSet references from BackgroundSync
Diffstat (limited to 'src/mongo/db/repl/sync_source_feedback.h')
-rw-r--r--src/mongo/db/repl/sync_source_feedback.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mongo/db/repl/sync_source_feedback.h b/src/mongo/db/repl/sync_source_feedback.h
index fc5a33a8469..fc20aa20ee6 100644
--- a/src/mongo/db/repl/sync_source_feedback.h
+++ b/src/mongo/db/repl/sync_source_feedback.h
@@ -35,15 +35,13 @@
#include "mongo/client/constants.h"
#include "mongo/client/dbclientcursor.h"
+#include "mongo/util/net/hostandport.h"
namespace mongo {
-
class OperationContext;
namespace repl {
- class Member;
-
class SyncSourceFeedback {
public:
SyncSourceFeedback();
@@ -100,7 +98,7 @@ namespace repl {
/// TODO(spencer): Remove this once the LegacyReplicationCoordinator is gone.
BSONObj _me;
// the member we are currently syncing from
- const Member* _syncTarget;
+ HostAndPort _syncTarget;
// our connection to our sync target
boost::scoped_ptr<DBClientConnection> _connection;
// protects cond, _shutdownSignaled, and the indicator bools.