[
https://issues.apache.org/jira/browse/OAK-893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705546#comment-13705546
]
Marcel Reutegger commented on OAK-893:
--------------------------------------
To give some more details on what's happening when the commit fails: when
oak-jcr saves a change, the sequence of operations usually is: 1) rebase the
current branch to the most recent state, 2) push down pending changes into the
branch, 4) run the commit hook with the base of the branch and the current head
of the branch, 5) merge the branch.
For this process to work reliably, the branch states must be stable. Otherwise
the commit hook will try to process changes from other commits that sneaked in.
This is the case with the first test added for this issue.
> MongoMK may fail with MicroKernelException under concurrent commits
> -------------------------------------------------------------------
>
> Key: OAK-893
> URL: https://issues.apache.org/jira/browse/OAK-893
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8
> Reporter: Marcel Reutegger
> Assignee: Marcel Reutegger
> Priority: Minor
>
> Under concurrent commits (with branches) it may happen that MongoMK fails
> with a MicroKernelException, even if the commits are non-conflicting. I'll
> add a test case...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira