diff options
author | Daniel Alabi <alabidan@gmail.com> | 2015-06-17 11:15:54 -0400 |
---|---|---|
committer | Daniel Alabi <alabidan@gmail.com> | 2015-06-19 09:18:19 -0400 |
commit | b6d5e3b2edb3c350f669839e43ac243f35c838db (patch) | |
tree | b76213535f07afb0a2c7c8c2b927fbe5bdf5f1d0 /src/mongo/s/chunk.cpp | |
parent | 0825bb2c83936d76d927bef681805b6fc686105d (diff) | |
download | mongo-b6d5e3b2edb3c350f669839e43ac243f35c838db.tar.gz |
SERVER-18436 Implement getGlobalSettings for RS catalog manager
getGlobalSettings for both legacy and RS catalog managers returns
ErrorCodes::NoMatchingDocument instead of ErrorCodes::NoSuchKey
when a Settings document is not found.
Diffstat (limited to 'src/mongo/s/chunk.cpp')
-rw-r--r-- | src/mongo/s/chunk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/chunk.cpp b/src/mongo/s/chunk.cpp index 0304b74494b..5e475771c07 100644 --- a/src/mongo/s/chunk.cpp +++ b/src/mongo/s/chunk.cpp @@ -748,7 +748,7 @@ namespace { return; } SettingsType chunkSizeSettings = chunkSizeSettingsResult.getValue(); - int csize = chunkSizeSettings.getChunkSize(); + int csize = chunkSizeSettings.getChunkSizeMB(); LOG(1) << "Refreshing MaxChunkSize: " << csize << "MB"; |