summaryrefslogtreecommitdiff
path: root/src/mongo/client/replica_set_monitor_internal.h
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-06-10 15:00:59 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2015-06-11 13:32:10 -0400
commit7c028e4f68c73d4e598b4836051678d307fa8adb (patch)
tree527229dc646ead5b45d4473ef0ff08429fd8231a /src/mongo/client/replica_set_monitor_internal.h
parent1b4c02b090b9c2fc56beca3295cdd7d5db48cf89 (diff)
downloadmongo-7c028e4f68c73d4e598b4836051678d307fa8adb.tar.gz
SERVER-18464 Implement ReplicaSetMonitorManager to replace statics
The ReplicaSetMonitorManager will be responsible for the lifetime of replica set monitors and will replaces the global static variables, which we currently use to track the replica set monitors. This change brings us closer to having a separate instance of the replica set monitors for MongoS.
Diffstat (limited to 'src/mongo/client/replica_set_monitor_internal.h')
-rw-r--r--src/mongo/client/replica_set_monitor_internal.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mongo/client/replica_set_monitor_internal.h b/src/mongo/client/replica_set_monitor_internal.h
index ba19ad1eb82..f840c2a1f65 100644
--- a/src/mongo/client/replica_set_monitor_internal.h
+++ b/src/mongo/client/replica_set_monitor_internal.h
@@ -162,8 +162,6 @@ namespace mongo {
*/
void checkInvariants() const;
- static ConfigChangeHook configChangeHook;
-
boost::mutex mutex; // must hold this to access any other member or method (except name).
// If Refresher::getNextStep returns WAIT, you should wait on the condition_variable,