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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2014/07/18 12:57:04 UTC

[jira] [Resolved] (OAK-1973) IndexUpdate traverses the data nodes under index nodes

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

Chetan Mehrotra resolved OAK-1973.
----------------------------------

    Resolution: Fixed

Applied the patch in 
* trunk - http://svn.apache.org/r1611584
* 1.0 - http://svn.apache.org/r1611585

> IndexUpdate traverses the data nodes under index nodes
> ------------------------------------------------------
>
>                 Key: OAK-1973
>                 URL: https://issues.apache.org/jira/browse/OAK-1973
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 1.1, 1.0.3
>
>         Attachments: OAK-1973.patch
>
>
> AsyncIndexUpdate uses IndexUpdate class as Editor and passes it to EditorDiff. IndexUpdate insternally wraps all the IndexEditors with VisibileEditor such that they do not traverse the invisible nodes (like :data). However IndexUpdate itself is not wrapped with VisibileEditor due to which it has to traverse all the Index data also for diff.
> Ideally IndexUpdate itself should be wrapped with VisibileEditor



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