Re: Subversion FSFS corruption
From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-08-23 20:01:38 CEST
On Mon, 2005-08-22 at 23:51 -0700, Ted Gould wrote:
That's the right list for this sort of problem, but your problem is deep
> I'm not entirely able to make out the file format in the FSFS repository
http://svn.collab.net/repos/svn/trunk/subversion/libsvn_fs_fs/structure
> text: 671 125184612 3924753 3922699 9112d223ba3e88b19e846e429f0ef361
The third number (3924753) is the length of the delta. I downloaded the
> svn: Delta does not fill the target window
The problem seems to be within the delta itself. Chunk 30 or so, at
> 2) Assuming I give up on ever seeing img_5633.jpg again, how do I get
If there are no derivatives of img_5633.jpg, then you can resolve this
* At offset 125184612 in the file, change the word "DELTA" to "PLAIN".
* In the metadata, where it says
text: 671 125184612 3924753 3922699 9112d223ba3e88b19e846e429f0ef361
change that to:
text: 671 125184612 0 0 d41d8cd98f00b204e9800998ecf8427e
where the spaces are important. The length of the line cannot
That will morph img_5633.jpg into an empty file.
> 3) Is this a bug? Any other data that you need?
Well, I can see two possibilities:
* There is a bug in our binary delta code. This would be pretty
* The rev file was subtly corrupted during or after its creation by
---------------------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.