Uploaded image for project: 'ModeShape'
  1. ModeShape
  2. MODE-1983

JcrSession.cachedNode should not use node.getChildReferences(cache).getChild(segment) for ChildReferences with UNKNOWN_SIZE

    XMLWordPrintable

Details

    Description

      When looking up nodes using segments, JcrSession.cachedNode should test whether the parent node's ChildReferences size is UNKNOWN_SIZE. Looking up a child node of a parent with thousands of children could take a lot of time as the approach is to iterate over the children.

      Recommendation for ChildReferences with UNKNOWN_SIZE is to locate nodes via WorkspaceCache.getChildReference(parenKey, nodeKey) instead.

      Attachments

        Issue Links

          Activity

            People

              rhauch Randall Hauch (Inactive)
              weljo_web Joel Pascua (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: