diff options
author | Henrik Edin <henrik.edin@mongodb.com> | 2018-01-29 12:28:22 -0500 |
---|---|---|
committer | Henrik Edin <henrik.edin@mongodb.com> | 2018-02-14 02:14:33 -0500 |
commit | 8dc33796371e1226bc2a53481e80cf0fd8142371 (patch) | |
tree | 5cc0a9a53829f11c284ee6440be48ec72a67b87f /src/mongo/db/mongod_options.cpp | |
parent | 2dc87c711cb0bf85fdc8dd1d65b5a83e144509fa (diff) | |
download | mongo-8dc33796371e1226bc2a53481e80cf0fd8142371.tar.gz |
SERVER-32951 Add lib for embedded options where we can have a different set of startup options. Also reduce dependencies on embedded.
Diffstat (limited to 'src/mongo/db/mongod_options.cpp')
-rw-r--r-- | src/mongo/db/mongod_options.cpp | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/src/mongo/db/mongod_options.cpp b/src/mongo/db/mongod_options.cpp index f77dce0fcc5..e63df877d1c 100644 --- a/src/mongo/db/mongod_options.cpp +++ b/src/mongo/db/mongod_options.cpp @@ -40,6 +40,7 @@ #include "mongo/bson/util/builder.h" #include "mongo/config.h" #include "mongo/db/db.h" +#include "mongo/db/global_settings.h" #include "mongo/db/repl/repl_settings.h" #include "mongo/db/server_options.h" #include "mongo/db/server_options_helpers.h" @@ -56,8 +57,6 @@ namespace mongo { using std::cout; using std::endl; -MongodGlobalParams mongodGlobalParams; - Status addMongodOptions(moe::OptionSection* options) { moe::OptionSection general_options("General options"); @@ -1298,16 +1297,4 @@ Status storeMongodOptions(const moe::Environment& params) { return Status::OK(); } -namespace { -repl::ReplSettings globalReplSettings; -} // namespace - -void setGlobalReplSettings(const repl::ReplSettings& settings) { - globalReplSettings = settings; -} - -const repl::ReplSettings& getGlobalReplSettings() { - return globalReplSettings; -} - } // namespace mongo |