[ 
https://issues.apache.org/jira/browse/LUCENE-941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Doron Cohen updated LUCENE-941:
-------------------------------

    Attachment: lucene-941-patch.txt

Previous fix did not cover the case of a ResetInput task after exhaustion. 
Updated patch is fixing this case as well.

> Benchmark alg line -  {[AddDoc(4000)]: 4} : * - causes an infinite loop
> -----------------------------------------------------------------------
>
>                 Key: LUCENE-941
>                 URL: https://issues.apache.org/jira/browse/LUCENE-941
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/benchmark
>            Reporter: Doron Cohen
>            Assignee: Doron Cohen
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: lucene-941-patch.txt, lucene-941-patch.txt
>
>
> Background in 
> http://www.mail-archive.com/java-dev@lucene.apache.org/msg10831.html 
> The line  
>    {[AddDoc(4000)]: 4} : * 
> causes an infinite loop because the parallel sequence would mask the 
> exhaustion from the outer sequential sequence.
> To fix this the DocMaker exhaustion check should be modified to rely  on the 
> doc maker instance only, and to be reset when the inputs are being reset. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to