[ 
https://issues.apache.org/jira/browse/OAK-6895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16235153#comment-16235153
 ] 

Chetan Mehrotra commented on OAK-6895:
--------------------------------------

May be we switch to Closer here as 3 resources are being closed. Also there was 
a test in HybridIndexTest#noFileLeaks to validate such case ... but I think the 
fix is here is straightforward so we can go only with fix

> 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
>
>
> 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