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/17 18:09:04 UTC

[jira] [Updated] (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 updated OAK-1973:
---------------------------------

    Attachment: OAK-1973.patch

Patch for the same
-- Wraps the IndexUpdate with VisibleEditor where used (except Upgrade)
-- Removed internal wrapping of editors as the IndexUpdate itself is wrapped

[~jukkaz] Can you have a look?

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