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 "Julian Reschke (Jira)" <ji...@apache.org> on 2019/09/30 07:36:05 UTC

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

     [ https://issues.apache.org/jira/browse/OAK-8640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke closed OAK-8640.
-------------------------------

> 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
>            Assignee: Tomek Rękawek
>            Priority: Major
>             Fix For: 1.18.0
>
>
> 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)