diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-04-15 18:41:32 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-04-20 16:31:12 -0400 |
commit | 0e45dbdbfda0ff381308b37d75235cad1da3db54 (patch) | |
tree | 5917a27620cc0c034a5e20d609917ce7660ebe21 /src/mongo/s/mongos_options.cpp | |
parent | f3c0c1cc6957efb0c48b1b757c3de2f20749db02 (diff) | |
download | mongo-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.cpp | 2 |
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"); } |