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

Hoss Man updated SOLR-4858:
---------------------------

    Attachment: SOLR-4858.patch

simplified test case.

i removed the randomness and replaced it with two distinct methods testing the 
simple sequence of events with and without updated log enabled...

{noformat}
# this will pass

ant test -Dtestcase=TestReloadAndDeleteDocs 
-Dtests.method=testReloadAndDeleteDocsNoUpdateLog

# this will cause a searcher leak because the directory failed to close

ant test -Dtestcase=TestReloadAndDeleteDocs 
-Dtests.method=testReloadAndDeleteDocsWithUpdateLog
{noformat}


                
> updateLog + core reload + deleteByQuery = leaked directory
> ----------------------------------------------------------
>
>                 Key: SOLR-4858
>                 URL: https://issues.apache.org/jira/browse/SOLR-4858
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.2.1
>            Reporter: Hoss Man
>             Fix For: 4.3.1
>
>         Attachments: SOLR-4858.patch, SOLR-4858.patch
>
>
> I havene't been able to make sense of this yet, but trying to track down 
> another bug lead me to discover that the following combination leads to 
> problems...
> * updateLog enabled
> * do a core reload
> * do a delete by query \*:\*
> ...leave out any one of the three, and everything works fine.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to