[ 
https://issues.apache.org/jira/browse/OAK-3649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15026990#comment-15026990
 ] 

Julian Reschke commented on OAK-3649:
-------------------------------------

...while debugging memory cache issues in RDBDocumentStore, it occurred to me 
that it might be good if those methods that assume the caller got a lock 
actually required that lock to be passed as parameter (not in order to use it 
but just to check the caller did the right thing). This might help avoding 
problems when code is moved around by stupid programmers (such as [~reschke]).

> 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
>              Labels: candidate_oak_1_0, candidate_oak_1_2
>             Fix For: 1.3.12
>
>
> 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)

Reply via email to