Skip to content

Commit

Permalink
SERVER-1986 meant 250K not 2.5M
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Lerner committed Dec 16, 2010
1 parent 30c1709 commit b0bafdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s/chunk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ namespace mongo {
if ( ! force ) {
vector<BSONObj> candidates;
const int maxPoints = 2;
const int maxObjs = 2500000;
const int maxObjs = 250000;
pickSplitVector( candidates , getManager()->getCurrentDesiredChunkSize() , maxPoints , maxObjs );
if ( candidates.size() <= 1 ) {
// no split points means there isn't enough data to split on
Expand Down

0 comments on commit b0bafdf

Please sign in to comment.