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 2017/03/29 20:31:41 UTC

[jira] [Updated] (OAK-6003) Allow to migrate checkpoints from Segment to Document

     [ https://issues.apache.org/jira/browse/OAK-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomek Rękawek updated OAK-6003:
-------------------------------
    Fix Version/s: 1.8

> Allow to migrate checkpoints from Segment to Document
> -----------------------------------------------------
>
>                 Key: OAK-6003
>                 URL: https://issues.apache.org/jira/browse/OAK-6003
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: upgrade
>            Reporter: Tomek Rękawek
>             Fix For: 1.8
>
>
> When performing a full migration from SegmentMK to DocumentMK, it'd be useful to migrate the checkpoints as well. This way we can avoid full reindexing which occurs after such migration. We can copy checkpoints as follows:
> 1. Get the oldest checkpoint on SegmentMK and migrate it as the DocMK head.
> 2. Checkpoint the current DocMK head.
> 3. Get the next SegmentMK checkpoint and apply the changes.
> 4. Checkpoint the current DocMK, etc.
> 5. As the last step apply the changes from the SegmentMK head.
> Since the checkpoint ids will be different, we should modify the /:async properties.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)