[ 
https://issues.apache.org/jira/browse/OAK-5971?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alex Parvulescu updated OAK-5971:
---------------------------------
    Description: 
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}

  was:
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 
head crx-quickstart/repository/segmentstore/journal.log 
org.apache.jackrabbit.oak.segment.file.JournalEntry@f2680686 root 1490201167938
{noformat}


> 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
>             Fix For: 1.7.0, 1.8
>
>
> 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)

Reply via email to