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

Node.getReferences() is slow due to missing property index

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.10
    • 0.12
    • core, jcr
    • None

    Description

      Node.getReferences() traverses all items in the repository in order to find the properties that reference the given node. this is super slow and does not scale.

      the (weak) reference properties should be auto-indexed.

      Attachments

        1. OAK-1137-v3.patch
          30 kB
          Alex Deparvu
        2. OAK-1137-v2.patch
          26 kB
          Alex Deparvu
        3. OAK-1137.patch
          14 kB
          Alex Deparvu

        Issue Links

          Activity

            People

              stillalex Alex Deparvu
              tripod Tobias Bocanegra
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: