Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Works as Designed
-
2.7.7
-
None
-
ALL
Description
Problem:
See https://github.com/mongodb/mongo/blob/master/src/mongo/db/dbcommands.cpp#L351
// Needs to be locked exclusively, because creates the system.profile collection
|
// in the local database.
|
//
|
Lock::DBLock dbXLock(txn->lockState(), dbname, MODE_X);
|
Alternative:
Could this be scoped to a DB_X lock?