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 2014/04/22 10:05:15 UTC

[jira] [Resolved] (OAK-1749) AsyncIndexUpdate may resurrect nodes

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

Marcel Reutegger resolved OAK-1749.
-----------------------------------

    Resolution: Fixed

Merged fix into 1.0 branch in http://svn.apache.org/r1589038

> AsyncIndexUpdate may resurrect nodes
> ------------------------------------
>
>                 Key: OAK-1749
>                 URL: https://issues.apache.org/jira/browse/OAK-1749
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 0.20
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>            Priority: Blocker
>             Fix For: 1.0
>
>         Attachments: AsyncIndexUpdateTest.java.patch
>
>
> There is a race condition in the AsyncIndexUpdate.run() method. The implementation creates a checkpoint used as the after node state for the comparison with the previous checkpoint. In a next step a builder is created from the current root state of the node store. Node removed between the checkpoint call and retrieving the root state may get resurrected by the AsyncIndexUpdate.



--
This message was sent by Atlassian JIRA
(v6.2#6252)