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 "Tomek Rękawek (JIRA)" <ji...@apache.org> on 2016/06/07 11:20:21 UTC

[jira] [Comment Edited] (OAK-4420) RepositorySidegrade: oak-segment to oak-segment-tar should migrate checkpoint info

    [ https://issues.apache.org/jira/browse/OAK-4420?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15318304#comment-15318304 ] 

Tomek Rękawek edited comment on OAK-4420 at 6/7/16 11:19 AM:
-------------------------------------------------------------

I prepared a proper version of patch: [^OAK-4420.patch]. The main part is the {{RepositorySidegrade#copyCheckpoints()}}. The NodeStateCopier used there to merge recent changes is intelligent enough to copy just the diff. Also, I've modified both SegmentNodeStore implementations to allow setting a new super root.

[~alex.parvulescu], [~mduerig], could you take a look on it? If you're ok with the SegmentNodeStore changes I'll merge it,


was (Author: tomek.rekawek):
I prepared a proper version of patch: [^OAK-4420.patch]. The main part is the {{RepositorySidegrade#copyCheckpoints()}}. The NodeStateCopier used there to merge recent changes is intelligent enough to copy just the diff. Also, I've modified both SegmentNodeStore implementations to allow setting a new super root.

[~alex.parvulescu], [~mduerig], could you take a look on it?

> RepositorySidegrade: oak-segment to oak-segment-tar should migrate checkpoint info
> ----------------------------------------------------------------------------------
>
>                 Key: OAK-4420
>                 URL: https://issues.apache.org/jira/browse/OAK-4420
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar, upgrade
>            Reporter: Alex Parvulescu
>            Assignee: Tomek Rękawek
>             Fix For: 1.6
>
>         Attachments: OAK-4420-naive.patch, OAK-4420.patch
>
>
> The sidegrade from {{oak-segment}} to {{oak-segment-tar}} should also take care of moving the checkpoint data and meta. This will save a very expensive full-reindex.



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