diff options
author | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2017-10-16 17:42:22 -0400 |
---|---|---|
committer | Siyuan Zhou <siyuan.zhou@mongodb.com> | 2017-10-17 20:49:33 -0400 |
commit | fb3b2eb0ac9c92c3e9a541a8e25aaa542d05e42f (patch) | |
tree | cf9ff0f1a5d24653fa7dd473a0a8c91ccf03a2a1 /src/mongo/db/repl/replication_coordinator_impl.h | |
parent | 9abf192c564e60cef196921dc1c20efddbdf6477 (diff) | |
download | mongo-fb3b2eb0ac9c92c3e9a541a8e25aaa542d05e42f.tar.gz |
SERVER-31514 startSteadyStateReplication outside mutex and handle shutdown in repl external state.
Diffstat (limited to 'src/mongo/db/repl/replication_coordinator_impl.h')
-rw-r--r-- | src/mongo/db/repl/replication_coordinator_impl.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/repl/replication_coordinator_impl.h b/src/mongo/db/repl/replication_coordinator_impl.h index cae8ddd2af9..f2d5bd12560 100644 --- a/src/mongo/db/repl/replication_coordinator_impl.h +++ b/src/mongo/db/repl/replication_coordinator_impl.h @@ -1142,12 +1142,6 @@ private: */ int64_t _nextRandomInt64_inlock(int64_t limit); - /** - * Set follower mode. The caller should acquire the mutex first. - * The parameter *lock may be unlocked when this method returns. - */ - Status _setFollowerMode(stdx::unique_lock<stdx::mutex>* lock, const MemberState& newState); - // // All member variables are labeled with one of the following codes indicating the // synchronization rules for accessing them. |