summaryrefslogtreecommitdiff
path: root/src/mongo/db/instance.cpp
diff options
context:
space:
mode:
authorHari Khalsa <hkhalsa@10gen.com>2014-07-16 15:53:29 -0400
committerHari Khalsa <hkhalsa@10gen.com>2014-07-21 11:43:02 -0400
commitd66dd1a020e5e0890ab17f2e58be38be312591e4 (patch)
treeb3b76f57d62c361efbb4903baa1f976ec3af1a71 /src/mongo/db/instance.cpp
parent63bca554b175f27451876df5a975f43dc79f55ee (diff)
downloadmongo-d66dd1a020e5e0890ab17f2e58be38be312591e4.tar.gz
SERVER-14413 access global storage mgr via global environment
Diffstat (limited to 'src/mongo/db/instance.cpp')
-rw-r--r--src/mongo/db/instance.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/instance.cpp b/src/mongo/db/instance.cpp
index fe90ef4b588..cd7bfccb36e 100644
--- a/src/mongo/db/instance.cpp
+++ b/src/mongo/db/instance.cpp
@@ -1017,7 +1017,8 @@ namespace {
log() << "shutdown: going to close sockets..." << endl;
boost::thread close_socket_thread( stdx::bind(MessagingPort::closeAllSockets, 0) );
- globalStorageEngine->cleanShutdown(txn);
+ StorageEngine* storageEngine = getGlobalEnvironment()->getGlobalStorageEngine();
+ storageEngine->cleanShutdown(txn);
}
void exitCleanly( ExitCode code ) {