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

Vikas Saurabh resolved OAK-6895.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.7.11

Fixed on trunk at [r1814052|https://svn.apache.org/r1814052].

Writing a test to make sure that all resources being opened get closed too 
would have required a lot of plumbing.

Btw, although file handles don't leak for previous versions, but I think 
closing opened resources is anyway a good idea. I'd backport the change to 
relevant branches.

> Suggest directory lookup (query) isn't closed
> ---------------------------------------------
>
>                 Key: OAK-6895
>                 URL: https://issues.apache.org/jira/browse/OAK-6895
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: lucene
>            Reporter: Vikas Saurabh
>            Assignee: Vikas Saurabh
>            Priority: Major
>             Fix For: 1.8, 1.7.11
>
>
> After OAK-6775, it was observed that we are leaking file handles pointing to 
> suggestion directory files.
> This is because {{DefaultIndexReader}} doesn't close suggest directory on 
> close.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to