You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2007/09/16 00:44:32 UTC
[jira] Updated: (LUCENE-941) Benchmark alg line - {[AddDoc(4000)]:
4} : * - causes an infinite loop
[ 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
Attached a test demonstrating the bug and a fix for it.
I will commit it in a few days unless there are any concerns.
> 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
>
>
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org