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

Reduce the number of calls to /jcr:system/jcr:versionStorage during the upgrade

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.12, 1.5.10, 1.6.0
    • Component/s: upgrade
    • Labels:
      None

      Description

      Each time a version history is copied during the upgrade, the copier tool has to traverse /jcr:system/jcr:versionStorage ancestors to get the appropriate nt:versionHistory node. It can be optimized by reading the versionStorage node once and re-using it. As a result, all methods related to copying versions should accept versionStorage rather than rootNode as their parameters.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: