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 "Michael Marth (JIRA)" <ji...@apache.org> on 2015/04/29 20:35:06 UTC

[jira] [Updated] (OAK-2681) Update lease without holding lock

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

Michael Marth updated OAK-2681:
-------------------------------
    Labels: performance  (was: )

> Update lease without holding lock
> ---------------------------------
>
>                 Key: OAK-2681
>                 URL: https://issues.apache.org/jira/browse/OAK-2681
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core, mongomk
>            Reporter: Marcel Reutegger
>            Assignee: Marcel Reutegger
>              Labels: performance
>             Fix For: 1.3.0
>
>
> A lease update of the DocumentNodeStore on MongoDB will acquire a lock in MongoDocumentStore to perform the changes. The locking is only necessary for changes in the 'nodes' collection, because only those documents are cached and the locking makes sure the cache is consistent. The MongoDocumentStore must be changed to only acquire a lock when changes are done in the 'nodes' collection.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)