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

Alex Parvulescu updated OAK-1137:
---------------------------------

    Attachment: OAK-1137.patch

Attaching patch to switch from query to the hidden property introduced in 
OAK-685.

The biggest problem is getting a nodestate from a tree as trees cannot access 
hidden nodes. this is marked as a TODO in the code.
as the node state is available from the AbstractTree I would propose promoting 
that to the Tree api.

the code is a lot slimmer now, did not look at any perf benchmarks yet. are 
there any I could reference?

feedback needed.

> Node.getReferences() is slow due to missing property index
> ----------------------------------------------------------
>
>                 Key: OAK-1137
>                 URL: https://issues.apache.org/jira/browse/OAK-1137
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, jcr
>    Affects Versions: 0.10
>            Reporter: Tobias Bocanegra
>            Assignee: Alex Parvulescu
>            Priority: Critical
>             Fix For: 0.11
>
>         Attachments: OAK-1137.patch
>
>
> Node.getReferences() traverses all items in the repository in order to find 
> the properties that reference the given node. this is super slow and does not 
> scale. 
> the (weak) reference properties should be auto-indexed.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to