Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] Updated: (LUCENE-941) Benchmark alg line - {[AddDoc(4000)]: 4} : * - causes an infinite loop

 

 

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded


jira at apache

Sep 15, 2007, 3:44 PM

Post #1 of 2 (484 views)
Permalink
[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 [at] lucene/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 [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene


jira at apache

Sep 16, 2007, 2:32 PM

Post #2 of 2 (417 views)
Permalink
[jira] Updated: (LUCENE-941) Benchmark alg line - {[AddDoc(4000)]: 4} : * - causes an infinite loop [In reply to]

[ 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 [at] lucene/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 [at] lucene
For additional commands, e-mail: java-dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.