summaryrefslogtreecommitdiff
path: root/src/mongo/db/concurrency/lock_state.cpp
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2015-01-16 17:08:13 -0500
committerMark Benvenuto <mark.benvenuto@mongodb.com>2015-01-20 11:17:35 -0500
commit7221fd14ea822cf380e53ec89f5848fb5295163b (patch)
treecb2ded662f22a7f1914603caaaa37695bfa0457b /src/mongo/db/concurrency/lock_state.cpp
parentf8c0611e742c07a293da9cb49baac211fe1d8874 (diff)
downloadmongo-7221fd14ea822cf380e53ec89f5848fb5295163b.tar.gz
SERVER-16092: Serialize writes to admin db for auth collections
Diffstat (limited to 'src/mongo/db/concurrency/lock_state.cpp')
-rw-r--r--src/mongo/db/concurrency/lock_state.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/concurrency/lock_state.cpp b/src/mongo/db/concurrency/lock_state.cpp
index 1b9c3218db5..a37ddc2d8fe 100644
--- a/src/mongo/db/concurrency/lock_state.cpp
+++ b/src/mongo/db/concurrency/lock_state.cpp
@@ -868,5 +868,6 @@ namespace {
const ResourceId resourceIdLocalDB = ResourceId(RESOURCE_DATABASE, StringData("local"));
const ResourceId resourceIdOplog =
ResourceId(RESOURCE_COLLECTION, StringData("local.oplog.rs"));
+ const ResourceId resourceIdAdminDB = ResourceId(RESOURCE_DATABASE, StringData("admin"));
} // namespace mongo