lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shai Erera (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-3144) FreqProxTermsWriter leaks file handles if exceptions are thrown during flush()
Date Wed, 25 May 2011 18:19:47 GMT

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

Shai Erera resolved LUCENE-3144.
--------------------------------

    Resolution: Fixed

Resolving this issue. We can track the MockDir stuff separately.

Committed revision 1127614 (3x).
Committed revision 1127615 (trunk).

Thanks Mike and Robert for the review !

> FreqProxTermsWriter leaks file handles if exceptions are thrown during flush()
> ------------------------------------------------------------------------------
>
>                 Key: LUCENE-3144
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3144
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: core/index
>            Reporter: Shai Erera
>            Assignee: Shai Erera
>             Fix For: 3.2, 4.0
>
>         Attachments: LUCENE-3144.patch, LUCENE-3144.patch
>
>
> FreqProxTermsWriter leaks open file handles if exceptions are thrown during flush. Code
needs to be protected by try-finally clauses.

--
This message is automatically generated by JIRA.
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