summaryrefslogtreecommitdiff
path: root/src/mongo/db/auth/authz_manager_external_state_d.h
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@mongodb.com>2014-09-18 13:57:44 -0400
committerAndy Schwerin <schwerin@mongodb.com>2014-09-18 20:25:53 -0400
commit8218e483ed31b5d8392a62cb1bc8c402e8ed0e97 (patch)
treef79cd44d84ab7fe9bb21f1d60b7627cc06e9d6b7 /src/mongo/db/auth/authz_manager_external_state_d.h
parent3a0420f1a74cbeefadc7909dbf2e1768200708eb (diff)
downloadmongo-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.h3
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;
};