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

Allow to only copy last journal entry in the SegmentStoreMigrator

    XMLWordPrintableJSON

    Details

    • Type: Story
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.18.0
    • Component/s: segment-azure
    • Labels:
      None

      Description

      In the oak-segment-azure, reading the whole journal may be a time consuming task, as the blob appends are a bit slow to read. The OAK-8604 introduces an improvement, by keeping the most recent journal entry saved as a metadata in the journal.log blob. We should allow to use this optimization in SegmentStoreMigrator, by adding a new migration parameter - onlyLastJournalEntry. This way, only the last entry in the journal will be migrated and it won't require to read the whole journal.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: