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

Lucene blob size different in trunk and 1.0 branch

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.3
    • Component/s: lucene
    • Labels:
      None

      Description

      As part of [1] the Lucene blob size was changed to 16kb (from 32 kb)
      to ensure that Lucene blobs are not made part of FileDataStore when
      SegmentMK is used. However this revision was not merged to 1.0 branch.

      This miss also affects the caching logic in DataStore (OAK-1726) as
      there it was assumed that Lucene blobs would be less than 16 kb hence
      it only cached binaries upto 16 kb. However in trunk the Lucene blobs
      are of size 32 kb which breaks this assumption and Lucene blobs would
      not be cached in memory. This can be fixed via config setting
      'maxCachedBinarySize'

      Changing it to 16 now in 1.0 would cause upgrade issue.

      So should the change be reverted in trunk?

      [1] http://svn.apache.org/viewvc?view=revision&revision=r1587430
      [2] http://svn.apache.org/viewvc/jackrabbit/oak/branches/1.0/oak-lucene/src/main/java/org/apache/jackrabbit/oak/plugins/index/lucene/OakDirectory.java?view=markup

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: