lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LUCENE-4177) TestPerfTasksLogic.testBGSearchTaskThreads sometimes fails or hangs on Windows
Date Wed, 01 Aug 2012 23:58:05 GMT

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

Michael McCandless updated LUCENE-4177:
---------------------------------------

    Attachment: LUCENE-4177.patch

OK I think I found a thread race; attached patch should fix it.
Basically if the BG task is very slow to start, it's possible that the
main thread would call stopNow() before the BG threads have launched.
After that they launch and just run forever...

                
> TestPerfTasksLogic.testBGSearchTaskThreads sometimes fails or hangs on Windows
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-4177
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4177
>             Project: Lucene - Core
>          Issue Type: Bug
>            Reporter: Robert Muir
>         Attachments: LUCENE-4177.patch
>
>
> e.g.
> http://jenkins.sd-datasolutions.de/job/Lucene-Solr-4.x-Windows-Java6-64/147/
> http://jenkins.sd-datasolutions.de/job/Lucene-Solr-trunk-Windows-Java7-64/408/
> this has happened a couple times... but always on Windows.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

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


Mime
View raw message