Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-105

Use Node.setPrimaryType() when changing primary type.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.28
    • None
    • None

    Description

      Vlt was written for Jackrabbit 2, I assume with Oak some operations can be optimized. We just stumpled across some code which changes the node type of a node on a package import: it basically does this by moving all child nodes to a temp node, deleting the node, recreating it with the new node type and then moving all child nodes back. If the tree below that node is large, this is a very heavy and expensive operation. Afaik, node type can be changed with Oak.
      There might be other optimizations like this

      Attachments

        Activity

          People

            tripod Tobias Bocanegra
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: