Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3490

More efficient node traversal during garbage collection

    XMLWordPrintableJSON

Details

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

    Description

      During the 'marking' stage the data store janitor runs over all nodes in the repository and updates the last modified date of any binary that is stored in the data store table that it finds. However, this process loads all node states in the repository individually which means that a separate database select is run for every node in the repository. This is very inefficient. We can improve on this manyfold by using the same strategy as is used by the consistency checker: we load batches of node info objects at once that already contain enough information to do our processing.

      Attachments

        Activity

          People

            unico@apache.org Unico Hommes
            unico@apache.org Unico Hommes
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: