diff options
author | Mathias Stearn <mathias@10gen.com> | 2014-07-01 13:31:17 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2014-07-09 12:57:12 -0400 |
commit | 46a25fdd1470fb08876c229e77be4986fd12082b (patch) | |
tree | 5db072e07fb6c0ee3f2c573b9abc1083f68aca08 /src/mongo/db/mongod_options.h | |
parent | 4939ccc6ebb0f7a61121e77ceeebd75d8841606a (diff) | |
download | mongo-46a25fdd1470fb08876c229e77be4986fd12082b.tar.gz |
SERVER-14395 Clean up StorageEngine initialization and shutdown
* Added StorageEngine::cleanShutdown() and commented that the destructor will
never be called.
* MMapV1StorageEngine specific operations were pulled into its constructor
and cleanShutdown implementation.
* StorageEngines are now constructed at a point where it is safe to spawn
threads.
Diffstat (limited to 'src/mongo/db/mongod_options.h')
-rw-r--r-- | src/mongo/db/mongod_options.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mongo/db/mongod_options.h b/src/mongo/db/mongod_options.h index f8ed7d86dcb..0843175533b 100644 --- a/src/mongo/db/mongod_options.h +++ b/src/mongo/db/mongod_options.h @@ -45,13 +45,9 @@ namespace mongo { namespace moe = mongo::optionenvironment; struct MongodGlobalParams { - bool upgrade; - bool repair; bool scriptingEnabled; // --noscripting MongodGlobalParams() : - upgrade(0), - repair(0), scriptingEnabled(true) { } }; |