[ https://issues.apache.org/jira/browse/OAK-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15948573#comment-15948573 ]
Tomek Rękawek edited comment on OAK-6003 at 3/30/17 8:14 AM: ------------------------------------------------------------- Fixed for trunk in [r1789440|https://svn.apache.org/r1789440] & [r1789448|https://svn.apache.org/r1789448]. was (Author: tomek.rekawek): Fixed for trunk in [r1789440|https://svn.apache.org/r1789440]. > Allow to migrate checkpoints for all type of sidegrades > ------------------------------------------------------- > > 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.7.0, 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)