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

Remove path and rootBuilder from the CompositeNodeBuilder

    XMLWordPrintableJSON

Details

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

    Description

      The fields path and rootBuilder should be removed from the CompositeNodeBuilder to reduce memory overhead.

      We can assume that the wrapped node builder implements MemoryNodeBuilder, which provides the getPath() method that can be used.

      WRT to the rootBuilder, it have two purposes:

      • make it possible to implement the moveTo() between stores,
      • create missing ancestors for non-default stores.

      Since we only support the read-only mode for non-default stores, these features are not required.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: