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

Make blobSize in OakDirectory configurable

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              chetanm Chetan Mehrotra
              Reporter:
              chetanm Chetan Mehrotra

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment