Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6003

Allow to migrate checkpoints for all type of sidegrades

    XMLWordPrintableJSON

    Details

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              tomek.rekawek Tomek Rękawek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: