diff options
author | Randolph Tan <randolph@10gen.com> | 2015-08-19 14:08:30 -0400 |
---|---|---|
committer | Randolph Tan <randolph@10gen.com> | 2015-08-21 12:57:57 -0400 |
commit | cf270a30130d1794d50286594ba17d63210bea9e (patch) | |
tree | c8045214d87e158d8114492c44ff7c62c2e6ee55 /src/mongo/s/mongos_options.cpp | |
parent | 94d817f0556dfed7abc9443b7c3fe4d3f95ce158 (diff) | |
download | mongo-cf270a30130d1794d50286594ba17d63210bea9e.tar.gz |
SERVER-19590 Remove --upgrade from mongos
Diffstat (limited to 'src/mongo/s/mongos_options.cpp')
-rw-r--r-- | src/mongo/s/mongos_options.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/s/mongos_options.cpp b/src/mongo/s/mongos_options.cpp index da9d3e7b1a5..740420509cc 100644 --- a/src/mongo/s/mongos_options.cpp +++ b/src/mongo/s/mongos_options.cpp @@ -95,10 +95,6 @@ Status addMongosOptions(moe::OptionSection* options) { .setSources(moe::SourceAllLegacy); sharding_options.addOptionChaining( - "upgrade", "upgrade", moe::Switch, "upgrade meta data version") - .setSources(moe::SourceAllLegacy); - - sharding_options.addOptionChaining( "sharding.chunkSize", "chunkSize", moe::Int, "maximum amount of data per chunk"); sharding_options.addOptionChaining("net.http.JSONPEnabled", @@ -279,10 +275,6 @@ Status storeMongosOptions(const moe::Environment& params, const std::vector<std: "purposes and is not recommended for production"; } - if (params.count("upgrade")) { - mongosGlobalParams.upgrade = params["upgrade"].as<bool>(); - } - return Status::OK(); } |