diff options
author | Spencer T Brody <spencer@mongodb.com> | 2015-07-28 15:02:33 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@mongodb.com> | 2015-07-30 16:23:18 -0400 |
commit | fe1a91d5c8fa5d9b83af81f7523a3a4e51d9f9a5 (patch) | |
tree | 5e50e3e595700f485aa9e121ff03615a434f058f /src/mongo/db/server_options.h | |
parent | 967422b3807f5d88a3e799d5fd1bca0554fe7e15 (diff) | |
download | mongo-fe1a91d5c8fa5d9b83af81f7523a3a4e51d9f9a5.tar.gz |
SERVER-19527 Add configsvrMode flag to mongod
Diffstat (limited to 'src/mongo/db/server_options.h')
-rw-r--r-- | src/mongo/db/server_options.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/db/server_options.h b/src/mongo/db/server_options.h index 268ecd86870..d91f212926c 100644 --- a/src/mongo/db/server_options.h +++ b/src/mongo/db/server_options.h @@ -43,6 +43,7 @@ struct ServerGlobalParams { indexBuildRetry(true), quiet(false), configsvr(false), + configsvrMode(ConfigServerMode::NONE), cpu(false), objcheck(true), defaultProfile(0), @@ -79,6 +80,12 @@ struct ServerGlobalParams { bool quiet; // --quiet bool configsvr; // --configsvr + enum class ConfigServerMode { + NONE, + SCC, + CSRS, + }; + ConfigServerMode configsvrMode; // -- configsvrMode bool cpu; // --cpu show cpu time periodically |