summaryrefslogtreecommitdiff
path: root/src/mongo/dbtests
diff options
context:
space:
mode:
authorKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-05-05 16:43:53 -0400
committerKaloian Manassiev <kaloian.manassiev@mongodb.com>2016-05-09 10:07:16 -0400
commit4176a6eadb2598c54862d7d80369febf7e1ecce9 (patch)
tree8e7ed2da80984030bf7bf88ac59f2213cd9ee7f0 /src/mongo/dbtests
parentb31ca56158bb6bf70f5037e2d2a9403fb4558c04 (diff)
downloadmongo-4176a6eadb2598c54862d7d80369febf7e1ecce9.tar.gz
SERVER-24071 Introduce ChunkRange class
This change introduces a ChunkRange class to be used for parsing and serialization of chunk min and max bounds. It also switches the chunk manager and sharding utilities to use ranges encoding the chunk bounds separately.
Diffstat (limited to 'src/mongo/dbtests')
-rw-r--r--src/mongo/dbtests/chunktests.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/dbtests/chunktests.cpp b/src/mongo/dbtests/chunktests.cpp
index fb874f8fecd..5fe6f14e659 100644
--- a/src/mongo/dbtests/chunktests.cpp
+++ b/src/mongo/dbtests/chunktests.cpp
@@ -65,7 +65,7 @@ public:
_chunkMap[mySplitPoints[i]] = chunk;
}
- _chunkRanges.reloadAll(_chunkMap);
+ _chunkRangeMap = std::move(_constructRanges(_chunkMap));
}
};