mirror of https://github.com/apache/lucene.git
LUCENE-2118: fix intermittent failure in TestIndexWriterMergePolicy.testMaxBufferedDocsChange
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1034007 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b8d51b6ce0
commit
3701a49475
|
@ -471,7 +471,7 @@ public abstract class LogMergePolicy extends MergePolicy {
|
||||||
// Now search backwards for the rightmost segment that
|
// Now search backwards for the rightmost segment that
|
||||||
// falls into this level:
|
// falls into this level:
|
||||||
float levelBottom;
|
float levelBottom;
|
||||||
if (maxLevel < levelFloor)
|
if (maxLevel <= levelFloor)
|
||||||
// All remaining segments fall into the min level
|
// All remaining segments fall into the min level
|
||||||
levelBottom = -1.0F;
|
levelBottom = -1.0F;
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue