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

Document split with binary properties too eager

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.1
    • 1.5.13, 1.6.0
    • core, documentmk
    • None

    Description

      OAK-2392 changed the split logic for documents and creates a split document as soon as a binary property is overwritten. This happens quite frequently in a default Oak setup with oak-lucene. Lucene files are stored in the repository and many of them are short lived because they are merged into bigger segments later. This means all documents for those files are split as soon as the file is deleted. The revision garbage collection does not get any benefit from this, because it will remove the files anyway. It is actually more expensive, because the GC also needs to collect the split documents.

      The split logic should be updated to only create a split document with binary properties when the node still exists at the current head revision.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: