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

Expensive NodeDocument.split() with multi-valued binary property

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.5.15
    • 1.5.18, 1.6.0
    • core, documentmk
    • None

    Description

      Getting the size of a binary value of a MultiBinaryPropertyState reads through the entire stream to determine the length. Depending on the backend store (e.g. S3 datastore), this can be rather expensive. OAK-5205 introduced a size check with NodeDocument.split() on binary properties and may now result in long running background updates.

      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: