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

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

If the method itself gets the lock, it will also release it on exit, right? I 
don't see how that would work if the caller wanted to synchronize more code...

> 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