Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6636

Create a path cache for the CompositeNodeState

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.7, 1.8.0
    • composite
    • None

    Description

      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.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            tomek.rekawek Tomek Rękawek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment