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/18 21:47:15 UTC
[jira] [Updated] (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 updated OAK-1749:
----------------------------------
Attachment: AsyncIndexUpdateTest.java.patch
Attached patch reproduces the issue with a test.
> 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
> 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)