[
https://issues.apache.org/jira/browse/OAK-536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13553704#comment-13553704
]
Michael Dürig commented on OAK-536:
-----------------------------------
I updated by private branch at
https://github.com/mduerig/jackrabbit-oak/commits/OAK-536
* The rebase implementation now annotates conflicts such that oak-core can
easily resolve them before merging the branch. I'll follow up with more
elaborate Javadoc on what constitutes a conflict.
* The oak-core implementation now uses the rebase facility of the Microkernel.
* Except for {{TreeTest}} all test cases pass now. The missing bit to make
{{TreeTest}} pass is to implement a {{CommitHandler}} that resolves conflicts
on child order. I'll follow up on this.
> Implement rebase for branches in Microkernel
> --------------------------------------------
>
> Key: OAK-536
> URL: https://issues.apache.org/jira/browse/OAK-536
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: mk, mongomk
> Reporter: Michael Dürig
> Attachments: OAK-536.patch, OAK-536.patch
>
>
> As discussed at length in OAK-464 and on the
> [list|http://markmail.org/message/4xwfwbax3kpoysbp], having the ability to
> rebase Microkernel branches on top of a different revision than the one the
> branch was originally branched from, helps for resolving conflicts. Both in
> the distributed cluster case and for concurrent commits from user sessions.
> Since we didn't come to a conclusion where this functionality should be best
> implemented, I did a [POC
> implementation|https://github.com/mduerig/jackrabbit-oak/commit/42e8d60132ca2207c03fa79fd1ddca22406fc58a]
> for oak-core in OAK-464. In order to make an informed decision on how to
> proceed we should also POC this functionality for the Microkernel.
--
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