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

Allow to only copy last journal entry in the SegmentStoreMigrator

    XMLWordPrintableJSON

Details

    • Story
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.18.0
    • segment-azure
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: