summaryrefslogtreecommitdiff
path: root/s/chunk.cpp
diff options
context:
space:
mode:
authorKristina Chodorow <kristina@10gen.com>2011-02-18 16:38:51 -0500
committerKristina Chodorow <kristina@10gen.com>2011-02-18 16:38:51 -0500
commita9e3511eda147d42f79203ad6e181e789c632c49 (patch)
treebb2ac2571b30a7513c33d6989326a63a3b1b04ce /s/chunk.cpp
parentd7d4e35459f0fa9107f1ed0f1630551859b12956 (diff)
downloadmongo-a9e3511eda147d42f79203ad6e181e789c632c49.tar.gz
increase number of initial chunk splits allowed to fit 256GB of data SERVER-2271
Diffstat (limited to 's/chunk.cpp')
-rw-r--r--s/chunk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/s/chunk.cpp b/s/chunk.cpp
index 50a463d11f2..1c725358c85 100644
--- a/s/chunk.cpp
+++ b/s/chunk.cpp
@@ -234,7 +234,7 @@ namespace mongo {
}
ChunkPtr Chunk::multiSplit( const vector<BSONObj>& m , BSONObj& res ) {
- const size_t maxSplitPoints = 256;
+ const size_t maxSplitPoints = 8192;
uassert( 10165 , "can't split as shard doesn't have a manager" , _manager );
uassert( 13332 , "need a split key to split chunk" , !m.empty() );