summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/storage_engine_init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/storage_engine_init.cpp')
-rw-r--r--src/mongo/db/storage/storage_engine_init.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mongo/db/storage/storage_engine_init.cpp b/src/mongo/db/storage/storage_engine_init.cpp
index 76e88753b2b..6e2b2e23eec 100644
--- a/src/mongo/db/storage/storage_engine_init.cpp
+++ b/src/mongo/db/storage/storage_engine_init.cpp
@@ -27,13 +27,17 @@
* it in the license file.
*/
+
+#include "mongo/platform/basic.h"
+
#include "mongo/db/storage/storage_engine_init.h"
#include <map>
+#include <memory>
#include "mongo/base/init.h"
#include "mongo/bson/bsonobjbuilder.h"
-#include "mongo/db/concurrency/locker_impl.h"
+#include "mongo/db/concurrency/lock_state.h"
#include "mongo/db/operation_context.h"
#include "mongo/db/storage/control/storage_control.h"
#include "mongo/db/storage/execution_control/concurrency_adjustment_parameters_gen.h"
@@ -55,7 +59,9 @@
#define MONGO_LOGV2_DEFAULT_COMPONENT ::mongo::logv2::LogComponent::kStorage
+
namespace mongo {
+
namespace {
/**
* Creates the lock file used to prevent concurrent processes from accessing the data files,