jackrabbit-dev mailing list archives

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

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

Jukka Zitting commented on JCR-3227:
------------------------------------

+1 looks good. The null assignment can be skipped since the next statement just overrides
it.
                
> 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

        

Mime
View raw message