You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2014/03/19 16:15:59 UTC
[jira] [Commented] (OAK-1568) Provide flag to not cache documents
from queries
[ https://issues.apache.org/jira/browse/OAK-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13940557#comment-13940557 ]
Jukka Zitting commented on OAK-1568:
------------------------------------
Wouldn't a scan-resistant cache like the {{CacheLIRS}} class already be able to handle such cases?
> Provide flag to not cache documents from queries
> ------------------------------------------------
>
> Key: OAK-1568
> URL: https://issues.apache.org/jira/browse/OAK-1568
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: mongomk
> Affects Versions: 0.18
> Reporter: Chetan Mehrotra
> Assignee: Chetan Mehrotra
> Priority: Minor
> Fix For: 0.20
>
>
> For some of the cases like Blob/Version Garbage Collection code logic traverses over large number of NodeDocument obtained from DocuementStore.query methods. Currently these method cache and NodeDocument obtained by default.
> For usage pattern like above this would overflow the cache and it might be better to avoid caching in such cases.
> See [1] for details
> [1] http://markmail.org/thread/ilcqtvaziie3ycb5
--
This message was sent by Atlassian JIRA
(v6.2#6252)