[ https://issues.apache.org/jira/browse/OAK-2681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Marcel Reutegger resolved OAK-2681. ----------------------------------- Resolution: Fixed Done in trunk: http://svn.apache.org/r1686020 > 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: concurrency, technical_debt > Fix For: 1.3.1 > > > 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)