[
https://issues.apache.org/jira/browse/OAK-7630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16711974#comment-16711974
]
Vikas Saurabh edited comment on OAK-7630 at 12/6/18 9:21 PM:
-------------------------------------------------------------
Backported on 1.6 at [r1848352|https://svn.apache.org/r1848352].
Backported on 1.4 at [r1848361|https://svn.apache.org/r1848361].
was (Author: catholicon):
Backported on 1.6 at [r1848352|https://svn.apache.org/1848352].
Backported on 1.4 at r1848361|https://svn.apache.org/r1848361].
> Suggest directory update doesn't close AnalyzingInfixSuggester after building
> -----------------------------------------------------------------------------
>
> Key: OAK-7630
> URL: https://issues.apache.org/jira/browse/OAK-7630
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: lucene
> Affects Versions: 1.8.0
> Reporter: Vikas Saurabh
> Assignee: Vikas Saurabh
> Priority: Major
> Fix For: 1.10, 1.9.6, 1.8.6, 1.4.24, 1.6.16
>
>
> {{SuggestHelper#updateSuggester}} updates suggester by doing a {{build()}} on
> a newly created instance of {{AnalyzingInfixSuggester}}. But it never closes
> the suggester instance, which, in turn, leads to un-closed reader. With FS
> based directory (when copy-on-write is enabled), this leads to leaking file
> handles. FSDirectory does get closed on GC though.
> The issue was reported by [~mreutegg]
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)