From 38862aaa17e06e5e6733598bbb487774cb3616f7 Mon Sep 17 00:00:00 2001 From: Max Hirschhorn Date: Thu, 21 May 2015 21:03:59 -0400 Subject: SERVER-17861 Change the default storage engine to wiredTiger. WiredTiger is used as the default storage engine if the dbpath does not contain any data files. Otherwise, the storage engine specified in the storage.bson metadata file is used when the --storageEngine flag is omitted from the command line invocation. --- src/mongo/db/service_context.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/mongo/db/service_context.h') diff --git a/src/mongo/db/service_context.h b/src/mongo/db/service_context.h index 40cee393d25..3833ff69d85 100644 --- a/src/mongo/db/service_context.h +++ b/src/mongo/db/service_context.h @@ -197,10 +197,7 @@ namespace mongo { */ virtual StorageFactoriesIterator* makeStorageFactoriesIterator() = 0; - /** - * Set the storage engine. The engine must have been registered via registerStorageEngine. - */ - virtual void setGlobalStorageEngine(const std::string& name) = 0; + virtual void initializeGlobalStorageEngine() = 0; /** * Shuts down storage engine cleanly and releases any locks on mongod.lock. -- cgit v1.2.1