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-5971) Offline compaction corrupts the journal
Date Thu, 23 Mar 2017 15:37:41 GMT

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

Andrei Dulceanu commented on OAK-5971:
--------------------------------------

[~alexparvulescu], good point! I'll add the test and update this issue when everything is
in place.

> Offline compaction corrupts the journal
> ---------------------------------------
>
>                 Key: OAK-5971
>                 URL: https://issues.apache.org/jira/browse/OAK-5971
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: segment-tar
>            Reporter: Alex Parvulescu
>            Assignee: Andrei Dulceanu
>             Fix For: 1.7.0, 1.8
>
>         Attachments: OAK-5971.patch
>
>
> Seems offline compaction corrupts the journal by persisting an illegal value as the head
state.
> Pre Compaction:
> {noformat}
> ~ head segmentstore/journal.log 
> 244b31cd-031d-48f2-ac64-d196ebccb43a:625 root 1490200945396
> accca99a-8829-4e16-a158-c75c08d92252:1580 root 1490200951316
> b188d865-9e26-4263-a9f1-5db3de9e8bfa:1724 root 1490200955354
> {noformat}
> Post Compaction:
> {noformat}
> ~ head segmentstore/journal.log 
> org.apache.jackrabbit.oak.segment.file.JournalEntry@f2680686 root 1490201167938
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message