summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_source_feedback.h
diff options
context:
space:
mode:
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.