jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (OAK-1869) TarMK: Incorrect tar entry verification in recovery mode
Date Mon, 02 Jun 2014 18:40:02 GMT

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

Jukka Zitting resolved OAK-1869.

       Resolution: Fixed
    Fix Version/s: 1.1

Fixed in revision 1599299.

> TarMK: Incorrect tar entry verification in recovery mode
> --------------------------------------------------------
>                 Key: OAK-1869
>                 URL: https://issues.apache.org/jira/browse/OAK-1869
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, segmentmk
>            Reporter: Jukka Zitting
>            Assignee: Jukka Zitting
>            Priority: Critical
>             Fix For: 1.1
> When recovering segments from a forcibly closed tar file (i.e. one without a proper tar
index), the TarMK will scan all tar entries and verify their checksums. Unfortunately that
checksum verification is incorrect, which leads to a lot of errors like the one below, and
to the affected segments being discarded.
> {noformat}
> Invalid entry checksum at offset NNNNN in tar file /path/to/dataNNNNNNx.tar, skipping...
> {noformat}
> In practice this leads to the TarMK undoing a lot of recent changes until it finds a
segment that hasn't been discarded because of such an incorrect checksum verification.

This message was sent by Atlassian JIRA

View raw message