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

Make blobSize in OakDirectory configurable

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.8, 1.1.2
    • lucene
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: