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 "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2015/04/29 09:55:05 UTC
[jira] [Created] (OAK-2822) Release merge lock in retry loop
Marcel Reutegger created OAK-2822:
-------------------------------------
Summary: Release merge lock in retry loop
Key: OAK-2822
URL: https://issues.apache.org/jira/browse/OAK-2822
Project: Jackrabbit Oak
Issue Type: Improvement
Components: core, mongomk
Reporter: Marcel Reutegger
Assignee: Marcel Reutegger
Fix For: 1.3.0
The DocumentNodeStoreBranch retries merges in two phases. First it retries merges while holding the merge lock non-exclusive and performing sleeps between attempts. If those retries fail the next phase will acquire the merge lock exclusively and perform retries. In the first phase the merge lock is released when the commit goes to sleep, while in the second it is not and may block other commits while sleeping.
DocumentNodeStoreBranch should be changed to release the exclusive lock when the commit goes to sleep.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)