diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-09-10 15:02:00 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-09-11 16:33:27 -0400 |
commit | a688dfed6143fb16775008dd9bd63ac94722956b (patch) | |
tree | 8d96ef3289f1a1627376552ae4a380596bae34cf /src/mongo/db/auth/authz_manager_external_state_d.h | |
parent | 260079ce653ece2fca028d6171e8f3cdfe486bd1 (diff) | |
download | mongo-a688dfed6143fb16775008dd9bd63ac94722956b.tar.gz |
SERVER-9518 Implement functions in mongos and mongod for locking authorization data
Diffstat (limited to 'src/mongo/db/auth/authz_manager_external_state_d.h')
-rw-r--r-- | src/mongo/db/auth/authz_manager_external_state_d.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/auth/authz_manager_external_state_d.h b/src/mongo/db/auth/authz_manager_external_state_d.h index a9c050be5cb..ebb2b4fb022 100644 --- a/src/mongo/db/auth/authz_manager_external_state_d.h +++ b/src/mongo/db/auth/authz_manager_external_state_d.h @@ -28,6 +28,7 @@ #pragma once +#include <boost/thread/mutex.hpp> #include <string> #include "mongo/base/disallow_copying.h" @@ -86,6 +87,9 @@ namespace mongo { virtual Status _findUser(const string& usersNamespace, const BSONObj& query, BSONObj* result); + + private: + boost::mutex _authzDataUpdateLock; }; } // namespace mongo |