summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_source_feedback.h
diff options
context:
space:
mode:
authorSpencer T Brody <spencer@mongodb.com>2014-07-22 14:08:58 -0400
committerSpencer T Brody <spencer@mongodb.com>2014-07-23 15:43:00 -0400
commit3778e48286d35a59cc0cb52bdadcf4090ac8af94 (patch)
treecf455541608035251b7f6dafbedc8f2371d5ef7d /src/mongo/db/repl/sync_source_feedback.h
parent6cd0e5006cd979a4e91ac8d4d2adb3af6b4ce877 (diff)
downloadmongo-3778e48286d35a59cc0cb52bdadcf4090ac8af94.tar.gz
SERVER-14442 Make ReplicationCoordinator responsible for constructing replication handshake objects
Diffstat (limited to 'src/mongo/db/repl/sync_source_feedback.h')
-rw-r--r--src/mongo/db/repl/sync_source_feedback.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mongo/db/repl/sync_source_feedback.h b/src/mongo/db/repl/sync_source_feedback.h
index c8cad777667..64c4d931b6b 100644
--- a/src/mongo/db/repl/sync_source_feedback.h
+++ b/src/mongo/db/repl/sync_source_feedback.h
@@ -52,9 +52,6 @@ namespace repl {
~SyncSourceFeedback() {}
- /// Adds an entry to _members for a secondary that has connected to us.
- void associateMember(const OID& rid, Member* member);
-
/// Ensures local.me is populated and populates it if not.
/// TODO(spencer): Remove this function once the LegacyReplicationCoordinator is gone.
void ensureMe(OperationContext* txn);
@@ -115,11 +112,8 @@ namespace repl {
const Member* _syncTarget;
// our connection to our sync target
boost::scoped_ptr<DBClientConnection> _connection;
- // protects cond and maps and the indicator bools
+ // protects cond and the indicator bools
boost::mutex _mtx;
- typedef std::map<mongo::OID, Member*> OIDMemberMap;
- // contains a pointer to each member, which we can look up by oid
- OIDMemberMap _members;
// used to alert our thread of changes which need to be passed up the chain
boost::condition _cond;
// used to indicate a position change which has not yet been pushed along