diff options
author | Daniel Alabi <alabidan@gmail.com> | 2015-05-15 08:24:27 -0400 |
---|---|---|
committer | Daniel Alabi <alabidan@gmail.com> | 2015-05-18 10:37:45 -0400 |
commit | b631186c3bde82f4894b31b58c769a9e83453601 (patch) | |
tree | b10e640d6228dc43e2625b6b351a68e438cc2242 /src/mongo/db/auth/authz_manager_external_state_s.h | |
parent | d31bf41e161177d933bcac782a3fce3ef61f190a (diff) | |
download | mongo-b631186c3bde82f4894b31b58c769a9e83453601.tar.gz |
SERVER-18478 Get rid of UpdateGuard and simplify locking for user management commands on mongod
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state_s.h')
-rw-r--r-- | src/mongo/db/auth/authz_manager_external_state_s.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state_s.h b/src/mongo/db/auth/authz_manager_external_state_s.h index 194d2f08f8f..31295aa3ec3 100644 --- a/src/mongo/db/auth/authz_manager_external_state_s.h +++ b/src/mongo/db/auth/authz_manager_external_state_s.h @@ -105,12 +105,6 @@ namespace mongo { const BSONObj& query, const BSONObj& writeConcern, int* numRemoved); - virtual bool tryAcquireAuthzUpdateLock(StringData why); - virtual void releaseAuthzUpdateLock(); - - private: - boost::mutex _distLockGuard; // Guards access to _authzDataUpdateLock - std::unique_ptr<DistLockManager::ScopedDistLock> _authzDataUpdateLock; }; } // namespace mongo |