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 2019/09/23 08:00:00 UTC

[jira] [Created] (OAK-8640) Allow to only copy last journal entry in the SegmentStoreMigrator

Tomek Rękawek created OAK-8640:
----------------------------------

             Summary: Allow to only copy last journal entry in the SegmentStoreMigrator
                 Key: OAK-8640
                 URL: https://issues.apache.org/jira/browse/OAK-8640
             Project: Jackrabbit Oak
          Issue Type: Story
          Components: segment-azure
            Reporter: Tomek Rękawek


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)