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

Improve performance of Oak-mongo.js function to remove/list nodes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.64.0
    • run
    • None

    Description

      Functions oak.removeDescendantsAndSelf() & oak.listRootTempNodes() & oak.removeRootTempNodes() are very slow.

      One thing that can be done to improve their performance is that we could use projections to fetch only _id, since we only need _id to remove them.

      Attachments

        Issue Links

          Activity

            People

              daim Rishabh Daim
              daim Rishabh Daim
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: