jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mete Atamel (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (JCR-3340) GarbageCollector should ignore all NoSuchItemStateExceptions
Date Thu, 14 Jun 2012 09:35:42 GMT

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

Mete Atamel updated JCR-3340:
-----------------------------

    Attachment: JCR-3340.patch

Patch against JR/trunk
                
> GarbageCollector should ignore all NoSuchItemStateExceptions
> ------------------------------------------------------------
>
>                 Key: JCR-3340
>                 URL: https://issues.apache.org/jira/browse/JCR-3340
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: jackrabbit-core
>    Affects Versions: 2.5
>            Reporter: Mete Atamel
>         Attachments: JCR-3340.patch
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> When GarbageCollector goes through nodes, it can encounter NoSuchItemStateException or
PathNotFoundException if a node has been deleted or moved in the meantime. GarbageCollector
can safely ignore these exceptions. It tries to do so in some cases but not all.
> For example, Listener#onEvent method in GarbageCollector catches PathNotFoundException
and it also catches the generic Exception. The latter is problematic because a NoSuchItemStateException
can be thrown by Session#getItem call and currently, GarbageCollector treats that as a valid
exception when it should just ignore it.

--
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