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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/storage/storage_engine_init.cpp b/src/mongo/db/storage/storage_engine_init.cpp
index 28d88eb30d2..6af9d37d139 100644
--- a/src/mongo/db/storage/storage_engine_init.cpp
+++ b/src/mongo/db/storage/storage_engine_init.cpp
@@ -227,7 +227,7 @@ void shutdownGlobalStorageEngineCleanly(ServiceContext* service,
// are shutting the storage engine down. Additionally, we need to terminate any background
// threads as they may be holding onto an OperationContext, as opposed to pausing them.
StorageControl::stopStorageControls(service, errorToReport, /*forRestart=*/false);
- storageEngine->cleanShutdown();
+ storageEngine->cleanShutdown(service);
auto& lockFile = StorageEngineLockFile::get(service);
if (lockFile) {
lockFile->clearPidAndUnlock();