diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2015-05-21 21:03:59 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2015-05-21 21:03:59 -0400 |
commit | 38862aaa17e06e5e6733598bbb487774cb3616f7 (patch) | |
tree | 4d6ea9734ac77ae12d27700edc740ca0817ed7b3 /src/mongo/db/service_context.h | |
parent | 505fc620e9086a9749a1664c4fd6d315a731616a (diff) | |
download | mongo-38862aaa17e06e5e6733598bbb487774cb3616f7.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.h | 5 |
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. |