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

Make blobSize in OakDirectory configurable

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.8, 1.1.2
    • Component/s: lucene
    • Labels:
      None

      Description

      Currently OakDirectory in Lucene splits the index file in size of 32kb. It would be better if this this is made configurable.

      1. Possibility to set it to higher value like 1MB - Original size was kept small to allow them to be made part of Segment data itself and make use of MMap IO. However when working with DocumentNodeStore it does not provide much benifit.
      2. As the value is power of 2 it causes wasted space when blobs are stored in MongoDocumentStore (OAK-2105)

      Any change should be backward compatibile

        Attachments

        1. OAK-2201.patch
          20 kB
          Chetan Mehrotra

          Issue Links

            Activity

              People

              • Assignee:
                chetanm Chetan Mehrotra
                Reporter:
                chetanm Chetan Mehrotra
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: