jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chetan Mehrotra (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-1568) Provide flag to not cache documents from queries
Date Wed, 19 Mar 2014 04:46:43 GMT
Chetan Mehrotra created OAK-1568:
------------------------------------

             Summary: 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)

Mime
View raw message