summaryrefslogtreecommitdiff
path: root/src/mongo/db/repl/sync_source_feedback.h
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2014-04-23 06:39:47 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2014-04-29 05:43:03 -0400
commit060ccc05a84d9c9ac142a03165da7af6f972428c (patch)
tree9d476570deb2ab89b7d7f3be87cc39865225ba02 /src/mongo/db/repl/sync_source_feedback.h
parent9938f4c65aba762590385825fcf837a0dfc68733 (diff)
downloadmongo-060ccc05a84d9c9ac142a03165da7af6f972428c.tar.gz
SERVER-13091 eliminate connlock from SyncSourceFeedback
Diffstat (limited to 'src/mongo/db/repl/sync_source_feedback.h')
-rw-r--r--src/mongo/db/repl/sync_source_feedback.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/repl/sync_source_feedback.h b/src/mongo/db/repl/sync_source_feedback.h
index d3ffea76f34..79911a3685b 100644
--- a/src/mongo/db/repl/sync_source_feedback.h
+++ b/src/mongo/db/repl/sync_source_feedback.h
@@ -60,9 +60,6 @@ namespace mongo {
updateMap(_me["_id"].OID(), ot);
}
- /// Connect to sync target.
- bool connect(const Member* target);
-
void resetConnection() {
LOG(1) << "resetting connection in sync source feedback";
_connection.reset();
@@ -107,8 +104,6 @@ namespace mongo {
const Member* _syncTarget;
// our connection to our sync target
boost::scoped_ptr<DBClientConnection> _connection;
- // protects connection
- boost::mutex _connmtx;
// protects cond and maps and the indicator bools
boost::mutex _mtx;
// contains the most recent optime of each member syncing to us