[ https://issues.apache.org/jira/browse/OAK-1870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chetan Mehrotra updated OAK-1870:
---------------------------------
Priority: Minor (was: Major)
> Lucene blob size different in trunk and 1.0 branch
> --------------------------------------------------
>
> Key: OAK-1870
> URL: https://issues.apache.org/jira/browse/OAK-1870
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: oak-lucene
> Affects Versions: 1.1
> Reporter: Chetan Mehrotra
> Assignee: Jukka Zitting
> Priority: Minor
> Fix For: 1.1
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)
|