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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2013/11/15 07:57:21 UTC

[jira] [Resolved] (OAK-1156) Improve the document cache invalidation logic to selectivly invalidate doc

     [ https://issues.apache.org/jira/browse/OAK-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chetan Mehrotra resolved OAK-1156.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.11

Done in rev [1542182|http://svn.apache.org/r1542182] for Document cache. The {docChildren}} cache is still completely cleared and probably that should also be looked into. However as per OAK-1119 the {{docChildren}} is not that heavily used.

> Improve the document cache invalidation logic to selectivly invalidate doc
> --------------------------------------------------------------------------
>
>                 Key: OAK-1156
>                 URL: https://issues.apache.org/jira/browse/OAK-1156
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: mongomk
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>             Fix For: 0.11
>
>         Attachments: OAK-1156.patch
>
>
> Currently the Background Read operation invalidates the complete cache in {{MongoNodeStore}} upon detecting external change. Instead of that it should check for which cached documents are stale and only invalidate them. 
> It can make use of {{_lastRev}} to check if nodes within a subtree have changed or not.



--
This message was sent by Atlassian JIRA
(v6.1#6144)