You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/03/18 18:10:38 UTC
[jira] [Commented] (OAK-2420) DocumentNodeStore revision GC may
lead to NPE
[ https://issues.apache.org/jira/browse/OAK-2420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14367479#comment-14367479 ]
Marcel Reutegger commented on OAK-2420:
---------------------------------------
Added a test (currently ignored): http://svn.apache.org/r1667590
> DocumentNodeStore revision GC may lead to NPE
> ---------------------------------------------
>
> Key: OAK-2420
> URL: https://issues.apache.org/jira/browse/OAK-2420
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 1.0
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Minor
> Fix For: 1.1.9
>
>
> The DocumentNodeStore revision GC may cause a NPE in a reader thread when the GC deletes documents currently accessed by the reader. The {{docChildrenCache}} is invalidated in {{VersionGarbageCollector.collectDeletedDocuments()}} after documents are removed in the DocumentStore. The NPE may occur if removed documents are access in between.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)