diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2014-09-18 13:57:44 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2014-09-18 20:25:53 -0400 |
commit | 8218e483ed31b5d8392a62cb1bc8c402e8ed0e97 (patch) | |
tree | f79cd44d84ab7fe9bb21f1d60b7627cc06e9d6b7 /src/mongo/db/auth/authz_manager_external_state_d.h | |
parent | 3a0420f1a74cbeefadc7909dbf2e1768200708eb (diff) | |
download | mongo-8218e483ed31b5d8392a62cb1bc8c402e8ed0e97.tar.gz |
SERVER-15311 Never read from admin.system.new_users when looking for user documents.
The master branch no longer needs to support the 2.4-2.6 upgrade process, obviating the need for
this decision making. Removing it will reduce the likelihood of future errors, and simplifies
storage concurrency control by removing the need for a multi-document atomic read.
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 | 3 |
1 files changed, 0 insertions, 3 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 613d4632ebb..1d1add4d8ce 100644 --- a/src/mongo/db/auth/authz_manager_external_state_d.h +++ b/src/mongo/db/auth/authz_manager_external_state_d.h @@ -91,9 +91,6 @@ namespace mongo { virtual void releaseAuthzUpdateLock(); private: - virtual Status _getUserDocument( - OperationContext* txn, const UserName& userName, BSONObj* userDoc); - boost::timed_mutex _authzDataUpdateLock; }; |