summaryrefslogtreecommitdiff
path: root/src/mongo/s/mongos_options.cpp
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-04-15 18:41:32 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-04-20 16:31:12 -0400
commit0e45dbdbfda0ff381308b37d75235cad1da3db54 (patch)
tree5917a27620cc0c034a5e20d609917ce7660ebe21 /src/mongo/s/mongos_options.cpp
parentf3c0c1cc6957efb0c48b1b757c3de2f20749db02 (diff)
downloadmongo-0e45dbdbfda0ff381308b37d75235cad1da3db54.tar.gz
SERVER-23696 Get rid of SettingsType
Splits all the functionality of SettingsType into the constituent ChunkSizeSettings and BalancerSettings and moves it under the BalancerConfiguration utility.
Diffstat (limited to 'src/mongo/s/mongos_options.cpp')
-rw-r--r--src/mongo/s/mongos_options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/mongos_options.cpp b/src/mongo/s/mongos_options.cpp
index 96de91add0e..f0718d12f41 100644
--- a/src/mongo/s/mongos_options.cpp
+++ b/src/mongo/s/mongos_options.cpp
@@ -217,7 +217,7 @@ Status storeMongosOptions(const moe::Environment& params, const std::vector<std:
const uint64_t maxChunkSizeBytes = maxChunkSizeMB * 1024 * 1024;
- if (!BalancerConfiguration::checkMaxChunkSizeValid(maxChunkSizeBytes)) {
+ if (!ChunkSizeSettingsType::checkMaxChunkSizeValid(maxChunkSizeBytes)) {
return Status(ErrorCodes::BadValue, "MaxChunkSize invalid");
}