diff options
author | Spencer T Brody <spencer@mongodb.com> | 2014-07-08 16:56:30 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2014-07-09 11:54:38 -0400 |
commit | 80f039c34373228fd7720ab3782cf1755397116d (patch) | |
tree | ca04a93dfbff1ba847a6bbcb9a688d42cc0b71f6 /src/mongo/db/mongod_options.h | |
parent | 0239597c2a2f1689a2969acd9b776dad3582ac7e (diff) | |
download | mongo-80f039c34373228fd7720ab3782cf1755397116d.tar.gz |
SERVER-14420 Get rid of global replSettings object
Diffstat (limited to 'src/mongo/db/mongod_options.h')
-rw-r--r-- | src/mongo/db/mongod_options.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/mongod_options.h b/src/mongo/db/mongod_options.h index 61112f54f3d..f8ed7d86dcb 100644 --- a/src/mongo/db/mongod_options.h +++ b/src/mongo/db/mongod_options.h @@ -29,6 +29,7 @@ #pragma once #include "mongo/base/status.h" +#include "mongo/db/repl/repl_settings.h" #include "mongo/db/server_options.h" #include "mongo/db/storage_options.h" #include "mongo/util/options_parser/environment.h" @@ -84,5 +85,8 @@ namespace mongo { */ Status canonicalizeMongodOptions(moe::Environment* params); + // Must be called after "storeMongodOptions" + StatusWith<repl::ReplSettings> parseMongodReplicationOptions(const moe::Environment& params); + Status storeMongodOptions(const moe::Environment& params, const std::vector<std::string>& args); } |