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

Vikas Saurabh commented on OAK-6895:
------------------------------------

bq. May be we switch to Closer here as 3 resources are being closed. 
Good idea. Would put it that way.
bq. 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
I haven't tried to write up the test yet. Would give it a shot - if it starts 
to be become too cumbersome, then I'd skip it.

> 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