You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Mark Miller <ma...@gmail.com> on 2010/07/29 04:46:03 UTC

Lucene Test Case Failure: org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange (from TestIndexWriterMergePolicy)

Error Message

maxMergeDocs=2147483647; numSegments=11; upperBound=10; mergeFactor=10;
segs=_65:c5950 _5t:c10->_32 _5u:c10->_32 _5v:c10->_32 _5w:c10->_32
_5x:c10->_32 _5y:c10->_32 _5z:c10->_32 _60:c10->_32 _61:c10->_32
_62:c6->_32 _64:c4->_62

Stacktrace

junit.framework.AssertionFailedError: maxMergeDocs=2147483647;
numSegments=11; upperBound=10; mergeFactor=10; segs=_65:c5950
_5t:c10->_32 _5u:c10->_32 _5v:c10->_32 _5w:c10->_32 _5x:c10->_32
_5y:c10->_32 _5z:c10->_32 _60:c10->_32 _61:c10->_32 _62:c6->_32 _64:c4->_62
	at
org.apache.lucene.index.TestIndexWriterMergePolicy.checkInvariants(TestIndexWriterMergePolicy.java:238)
	at
org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange(TestIndexWriterMergePolicy.java:166)
	at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:328)

Standard Output

NOTE: random codec of testcase 'testMaxBufferedDocsChange' was: PreFlex


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: Lucene Test Case Failure: org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange (from TestIndexWriterMergePolicy)

Posted by Mark Miller <ma...@gmail.com>.
Fine by me - but would be nice if we didn't have false failures all the
same ;) I might try and look at it if the mood strikes.

On 7/29/10 6:11 AM, Michael McCandless wrote:
> This one is a known issue (LUCENE-2118).
> 
> I'm not worried about it; there seems to be some corner as you tweak
> maxBufferedDocs case whereby the MP is able to leave 10 segments on a
> single level (when mergeFactor is 10).
> 
> Mike
> 
> On Wed, Jul 28, 2010 at 10:46 PM, Mark Miller <ma...@gmail.com> wrote:
>> Error Message
>>
>> maxMergeDocs=2147483647; numSegments=11; upperBound=10; mergeFactor=10;
>> segs=_65:c5950 _5t:c10->_32 _5u:c10->_32 _5v:c10->_32 _5w:c10->_32
>> _5x:c10->_32 _5y:c10->_32 _5z:c10->_32 _60:c10->_32 _61:c10->_32
>> _62:c6->_32 _64:c4->_62
>>
>> Stacktrace
>>
>> junit.framework.AssertionFailedError: maxMergeDocs=2147483647;
>> numSegments=11; upperBound=10; mergeFactor=10; segs=_65:c5950
>> _5t:c10->_32 _5u:c10->_32 _5v:c10->_32 _5w:c10->_32 _5x:c10->_32
>> _5y:c10->_32 _5z:c10->_32 _60:c10->_32 _61:c10->_32 _62:c6->_32 _64:c4->_62
>>        at
>> org.apache.lucene.index.TestIndexWriterMergePolicy.checkInvariants(TestIndexWriterMergePolicy.java:238)
>>        at
>> org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange(TestIndexWriterMergePolicy.java:166)
>>        at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:328)
>>
>> Standard Output
>>
>> NOTE: random codec of testcase 'testMaxBufferedDocsChange' was: PreFlex
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>> For additional commands, e-mail: dev-help@lucene.apache.org
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Re: Lucene Test Case Failure: org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange (from TestIndexWriterMergePolicy)

Posted by Michael McCandless <lu...@mikemccandless.com>.
This one is a known issue (LUCENE-2118).

I'm not worried about it; there seems to be some corner as you tweak
maxBufferedDocs case whereby the MP is able to leave 10 segments on a
single level (when mergeFactor is 10).

Mike

On Wed, Jul 28, 2010 at 10:46 PM, Mark Miller <ma...@gmail.com> wrote:
> Error Message
>
> maxMergeDocs=2147483647; numSegments=11; upperBound=10; mergeFactor=10;
> segs=_65:c5950 _5t:c10->_32 _5u:c10->_32 _5v:c10->_32 _5w:c10->_32
> _5x:c10->_32 _5y:c10->_32 _5z:c10->_32 _60:c10->_32 _61:c10->_32
> _62:c6->_32 _64:c4->_62
>
> Stacktrace
>
> junit.framework.AssertionFailedError: maxMergeDocs=2147483647;
> numSegments=11; upperBound=10; mergeFactor=10; segs=_65:c5950
> _5t:c10->_32 _5u:c10->_32 _5v:c10->_32 _5w:c10->_32 _5x:c10->_32
> _5y:c10->_32 _5z:c10->_32 _60:c10->_32 _61:c10->_32 _62:c6->_32 _64:c4->_62
>        at
> org.apache.lucene.index.TestIndexWriterMergePolicy.checkInvariants(TestIndexWriterMergePolicy.java:238)
>        at
> org.apache.lucene.index.TestIndexWriterMergePolicy.testMaxBufferedDocsChange(TestIndexWriterMergePolicy.java:166)
>        at org.apache.lucene.util.LuceneTestCase.runBare(LuceneTestCase.java:328)
>
> Standard Output
>
> NOTE: random codec of testcase 'testMaxBufferedDocsChange' was: PreFlex
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org