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

Do not create nodeChildren cache entry for leaf

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.13, 1.1.6
    • None
    • None

    Description

      Currently the DocumentNodeStore populates nodeChildrenCache after a commit with entries for leaf nodes. Those cache entries all have a zero length list and are unnecessary, because the underlying document already has a flag, which indicates whether the node is a leaf. The cache entries created for leaf nodes are never used and only flood the cache.

      Attachments

        Activity

          People

            mreutegg Marcel Reutegger
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: