You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Julian Foad (Jira)" <ji...@apache.org> on 2020/06/10 15:03:00 UTC

[jira] [Resolved] (SVN-4858) FSFS corruption - Found malformed header - Corrupt node-revision

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

Julian Foad resolved SVN-4858.
------------------------------
    Resolution: Cannot Reproduce

This was observed in a repository format compatible with Subversion 1.6, and it is at least plausible, perhaps likely, that any bug responsible may have been fixed in the FSFS-f7 format or other subsequent FSFS updates.

This report was filed as a place to record any information that may be of interest when users come across this error. No further work to identify and fix the original cause is planned. Closing as 'cannot reproduce'.

> FSFS corruption - Found malformed header - Corrupt node-revision
> ----------------------------------------------------------------
>
>                 Key: SVN-4858
>                 URL: https://issues.apache.org/jira/browse/SVN-4858
>             Project: Subversion
>          Issue Type: Bug
>            Reporter: Julian Foad
>            Priority: Major
>         Attachments: test-svn-4858-6.tgz
>
>
> This issue exists to document a form of repository corruption that has been seen "in the wild".
> The following error was seen by a WANdisco customer at the time of calling the FS layer commit-txn API via WANdisco's own replicator product:
> {code:none}
> 160004 Found malformed header '2-8080.0-58760.r87127/41271' in revision file
> 160004 Corrupt node-revision '2-8080.0-58760.r87127/41275'
> {code}
> I can artificially create a repository corruption that produces that exact form of error, in a 1.6-compatible repository served by svn 1.10, in standard Subversion. By my analysis the error almost certainly resulted from this kind of corruption.
> The essence of the corruption is: within a directory representation, in either a 'dir' entry or a 'file' entry, add 4 to the byte-offset part of the entry's node-rev reference.
> The observed failure was in a FSFS repo format 5, filesystem format 4, shard size 1000, 60 shards packed; the error reported references r87127 so is in a non-packed revision.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)