jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Dulceanu (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OAK-9042) Improve azure archive recovery during startup
Date Thu, 07 May 2020 11:49:00 GMT

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

Andrei Dulceanu commented on OAK-9042:
--------------------------------------

[~smiroslav]. I applied the latest patch in trunk at r1877472. Thanks for your contribution!

> Improve azure archive recovery during startup
> ---------------------------------------------
>
>                 Key: OAK-9042
>                 URL: https://issues.apache.org/jira/browse/OAK-9042
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: segment-azure, segment-tar
>    Affects Versions: 1.26.0
>            Reporter: Miroslav Smiljanic
>            Assignee: Andrei Dulceanu
>            Priority: Major
>              Labels: Patch
>             Fix For: 1.28.0
>
>         Attachments: package-info.patch, proposal.patch, test_tar_repo_recovery.patch
>
>
> During repository startup if archive directory is not closed properly, recovery will
be performed. During that procedure, segents are copied to the backup directory and deleted
from the source direcory, one by one.
> It can create problems and negativelly impact other ongoing actiivties, which are accessing
the same archive. This activity, for example, can be repository cloning in order to create
new environment. 
> Proposed patch, after creating backup is not deleting all segments from archive, but
only segments which could not be recovered. 
> [^proposal.patch]
>  
> +API change+
> Proposed patch is changing major version of exported SPI package, org.apache.jackrabbit.oak.segment.spi.persistence.split.
>  



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

Mime
View raw message