lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (Resolved) (JIRA)" <>
Subject [jira] [Resolved] (LUCENE-3798) Potential IndexReader leak in SearcherManager and NRTManager
Date Sat, 18 Feb 2012 11:12:59 GMT


Shai Erera resolved LUCENE-3798.

       Resolution: Invalid
    Fix Version/s:     (was: 3.6)
                       (was: 4.0)

Argh, you're right. I didn't 'svn up' before I looked at the code :).

Sorry for the noise.
> Potential IndexReader leak in SearcherManager and NRTManager
> ------------------------------------------------------------
>                 Key: LUCENE-3798
>                 URL:
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/search
>            Reporter: Shai Erera
>            Priority: Critical
> SearcherManager and NRTManager ctors init a new IndexReader and call searcherFactory.newSearcher.
The latter can throw IOE,in which case we fail to close the readers. We should wrap the code
with a try-finally (success) clause.
> Opening this issue so we don't forget to fix it.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message