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 "Manfred Baedke (JIRA)" <ji...@apache.org> on 2015/03/23 17:53:10 UTC

[jira] [Commented] (OAK-2670) Online Backup of segment store fails on Windows because the journal file is locked exclusively.

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

Manfred Baedke commented on OAK-2670:
-------------------------------------

Fixed in Oak trunk with r1668683.

> Online Backup of segment store fails on Windows because the journal file is locked exclusively.
> -----------------------------------------------------------------------------------------------
>
>                 Key: OAK-2670
>                 URL: https://issues.apache.org/jira/browse/OAK-2670
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.0.12, 1.1.7
>            Reporter: Manfred Baedke
>            Assignee: Manfred Baedke
>             Fix For: 1.1.8, 1.0.13
>
>
> The SegmentStore implementation org.apache.jackrabbit.oak.plugins.segment.file.FileStore uses an exclusive lock on the journal file to prevent a repository from restarting that hasn't been shutdown properly (see OAK-1696). Therefore the journal file can't be copied when the repo is online.
> Solution proposal: using a dedicated file for locking should suffice.



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