[ https://issues.apache.org/jira/browse/LUCENE-941?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528313 ]
Doron Cohen commented on LUCENE-941: ------------------------------------ Two notes on current patch: - Two ResetSystem Tasks now subclass ResetInputsTask. - Unlike initially intended, fix is mainly in TaskSequence, not relying on DocMakers, so that it can easily be extended to work with other "makers". > 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]