Skip to content

Commit

Permalink
fix error in message when split point was empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Alberto Lerner committed Oct 23, 2010
1 parent 3a8d363 commit e8019f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions s/chunk.cpp
Expand Up @@ -278,8 +278,8 @@ namespace mongo {
// Normally, we'd have a sound split point here if the chunk is not empty. It's also a good place to
// sanity check.
if ( splitPoint.empty() || _min == splitPoint.front() || _max == splitPoint.front() ) {
log() << "want to split chunk, but can't find split point "
<< " chunk: " << toString() << " got: " << splitPoint.front() << endl;
log() << "want to split chunk, but can't find split point chunk " << toString()
<< " got: " << ( true ? "<empty>" : splitPoint.front().toString() ) << endl;
return ChunkPtr();
}

Expand Down

0 comments on commit e8019f7

Please sign in to comment.