jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Parvulescu (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-3227) VolatileIndex not closed properly
Date Tue, 07 Feb 2012 09:14:59 GMT

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

Alex Parvulescu updated JCR-3227:

    Attachment: JCR-3227.patch

yup, that is indeed a bug

the fix looks simple enough. 
attached proposed patch
> VolatileIndex not closed properly
> ---------------------------------
>                 Key: JCR-3227
>                 URL: https://issues.apache.org/jira/browse/JCR-3227
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.4
>            Reporter: Jukka Zitting
>            Priority: Minor
>         Attachments: JCR-3227.patch
> The MultiIndex.resetVolatileIndex() method doesn't properly close the existing VolatileIndex
instance before creating a new one. This can confuse the DynamicPooledExecutor reference count
added in JCR-2836, leading to a background thread leak.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message