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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.12, 1.5.10, 1.6.0
    • upgrade
    • 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

              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: