jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vikas Saurabh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-7630) Suggest directory update doesn't close AnalyzingInfixSuggester after building
Date Fri, 13 Jul 2018 00:02:00 GMT

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

Vikas Saurabh resolved OAK-7630.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.9.6

Fixed on trunk at [r1835780|https://svn.apache.org/r1835780]. Would backport to 1.8 branch
after a few cycles of testing.

> 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
>              Labels: candidate_oak_1_8
>             Fix For: 1.10, 1.9.6
>
>
> {{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)

Mime
View raw message