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 "Chetan Mehrotra (JIRA)" <ji...@apache.org> on 2015/03/20 15:15:39 UTC

[jira] [Commented] (OAK-2657) Repository Upgrade could shut down the source repository early

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

Chetan Mehrotra commented on OAK-2657:
--------------------------------------

Good idea. However one thing we need to watch out for is that currently we reuse the DataStore instance within the Oak instance. So if you close the repository it would also close the DataStore. However currently the migration logic does not make calls to datastore post migration but something we need to watch for

> Repository Upgrade could shut down the source repository early
> --------------------------------------------------------------
>
>                 Key: OAK-2657
>                 URL: https://issues.apache.org/jira/browse/OAK-2657
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: upgrade
>            Reporter: Alex Parvulescu
>         Attachments: OAK-2657.patch
>
>
> I noticed that during the upgrade we can distinguish 2 phases: first copying the data from the source, then applying all the Editors (indexes and co.).
> After phase 1 is done the repository upgrader could shut down the old repo to allow clearing some memory resources which might be used for the second phase.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)