summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/chunk.cpp')
-rw-r--r--src/mongo/s/chunk.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/s/chunk.cpp b/src/mongo/s/chunk.cpp
index 29420ca766b..f224fbd8c87 100644
--- a/src/mongo/s/chunk.cpp
+++ b/src/mongo/s/chunk.cpp
@@ -41,6 +41,7 @@ namespace mongo {
ChunkInfo::ChunkInfo(const ChunkType& from)
: _range(from.getMin(), from.getMax()),
+ _maxKeyString(ShardKeyPattern::toKeyString(from.getMax())),
_shardId(from.getShard()),
_lastmod(from.getVersion()),
_history(from.getHistory()),