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 "Jukka Zitting (JIRA)" <ji...@apache.org> on 2014/06/02 20:30:04 UTC
[jira] [Created] (OAK-1869) TarMK: Incorrect tar entry verification
in recovery mode
Jukka Zitting created OAK-1869:
----------------------------------
Summary: 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
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
(v6.2#6252)