diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-06-10 15:00:59 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2015-06-11 13:32:10 -0400 |
commit | 7c028e4f68c73d4e598b4836051678d307fa8adb (patch) | |
tree | 527229dc646ead5b45d4473ef0ff08429fd8231a /src/mongo/client/replica_set_monitor_internal.h | |
parent | 1b4c02b090b9c2fc56beca3295cdd7d5db48cf89 (diff) | |
download | mongo-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.h | 2 |
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, |