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

Clean up _revision entries on commit root documents

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0, 1.8.0
    • documentmk
    • None

    Description

      The _revisions entries on commit root documents are currently not cleaned up and accumulate in split documents.

      One possible solution may be to ensure that there are no uncommitted changes up to certain revisions. Older revisions would then be considered valid and commit information on the commit root document wouldn't be needed anymore.

      For regular commits this is probably not that difficult. However, changes from branch commits require the merge revision set in the commit entry on the commit root to decide when those changes were made visible to other sessions. A simple solution could be to rewrite such changes with the merge revision.

      Attachments

        Issue Links

          Activity

            People

              mreutegg Marcel Reutegger
              mreutegg Marcel Reutegger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: