summaryrefslogtreecommitdiff
path: root/src/mongo/db/service_context.h
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2015-05-26 20:27:50 -0400
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2015-05-26 20:27:50 -0400
commita335b35b2e95538220941960764e6f60136b3973 (patch)
tree7f032302b5258df827e2cbfd726584414e88ae57 /src/mongo/db/service_context.h
parent3a54c4caa2a5b0d0689a73de0fad3b6be84b5a8c (diff)
downloadmongo-a335b35b2e95538220941960764e6f60136b3973.tar.gz
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.
Diffstat (limited to 'src/mongo/db/service_context.h')
-rw-r--r--src/mongo/db/service_context.h5
1 files changed, 1 insertions, 4 deletions
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.