Hi,

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?

Chetan Mehrotra
[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

Reply via email to