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 "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2015/11/19 16:25:10 UTC
[jira] [Commented] (OAK-3649) Extract node document cache from
Mongo and RDB document stores
[ https://issues.apache.org/jira/browse/OAK-3649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15013692#comment-15013692 ]
Tomek Rękawek commented on OAK-3649:
------------------------------------
Pull request:
https://github.com/apache/jackrabbit-oak/pull/47
Patch file:
https://github.com/apache/jackrabbit-oak/pull/47.diff
I created two new classes: NodeDocumentCache and NodeDocumentLocks, as it wasn't possible to encapsulate the whole synchronization logic inside the new cache class. Right now NodeDocumentCache is not thread safe and it's up to the DocumentStore to take care about locks.
> Extract node document cache from Mongo and RDB document stores
> --------------------------------------------------------------
>
> Key: OAK-3649
> URL: https://issues.apache.org/jira/browse/OAK-3649
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: documentmk, mongomk, rdbmk
> Reporter: Tomek Rękawek
> Priority: Minor
> Fix For: 1.3.11
>
>
> MongoDocumentStore and RDBDocumentStore contains copy & pasted methods responsible for handling node document cache. Extract these into a new NodeDocumentCache.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)