[ 
https://issues.apache.org/jira/browse/OAK-7977?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16752209#comment-16752209
 ] 

Andrei Dulceanu commented on OAK-7977:
--------------------------------------

Per [~mduerig]'s suggestion and code snippet on dev mailing list, I added 
[^OAK-7977-03.patch] which simplifies the implementation for migrating 
segments. If there aren't any objections, I'll go ahead and commit the 
improvement.

/cc [~tomek.rekawek]

> Add multi-threaded segment transfer to oak-run segment-copy
> -----------------------------------------------------------
>
>                 Key: OAK-7977
>                 URL: https://issues.apache.org/jira/browse/OAK-7977
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: oak-run, segment-azure
>            Reporter: Andrei Dulceanu
>            Assignee: Andrei Dulceanu
>            Priority: Minor
>              Labels: tooling
>             Fix For: 1.12
>
>         Attachments: OAK-7977-02.patch, OAK-7977-03.patch, OAK-7977.patch
>
>
> The transfer of segments between different persistence types when using 
> {{oak-run segment-copy}} can be sped up by employing multiple threads in the 
> transfer. The idea is to try to load {{n}} segments from the source, which 
> are then consumed by the writer on the target, keeping the ordering of the 
> segments in the process. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to