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] [Updated] (OAK-1869) TarMK: Incorrect tar entry verification in recovery mode
Date Mon, 02 Jun 2014 18:59:04 GMT

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

Jukka Zitting updated OAK-1869:

    Fix Version/s: 1.0.1

Merged to the 1.0 branch for the 1.0.1 release in revision 1599306 as the impact of this bug
is pretty bad even though it only occurs in an already abnormal situation.

> 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.0.1, 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