jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomek Rękawek (JIRA) <j...@apache.org>
Subject [jira] [Resolved] (OAK-6636) Create a path cache for the CompositeNodeState
Date Fri, 08 Sep 2017 09:02:00 GMT

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

Tomek Rękawek resolved OAK-6636.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 1.7.7

> Create a path cache for the CompositeNodeState
> ----------------------------------------------
>
>                 Key: OAK-6636
>                 URL: https://issues.apache.org/jira/browse/OAK-6636
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: composite
>            Reporter: Tomek Rękawek
>             Fix For: 1.8, 1.7.7
>
>
> The only non-reference field in the CompositeNodeState is the path. Assuming we have
many node states in the memory, it may be a bit expensive to store their paths in the memory.
> On the other hand, after the recent optimizations (see linked issues), the set of the
nodes which should be wrapped with the CompositeNodeState is limited to:
> * /
> * /oak:index and its direct children
> * /jcr:system
> * /jcr:system/nt:permissionsStore
> That's why it makes sense to use a string cache to store all the paths.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message