You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by vy...@oksystem.cz on 2011/05/10 12:20:36 UTC

Decompression of svndiff data failed

Hello.


I use svn co to checkout my repo. All worked fine for a while, but today I get error



Decompression of svndiff data failed: no size



every time I try to do svn co.


I found out that I got these errors not only from svn co, but also from svnsync, svnadmin dump, etc.


This happened after we commited a new version of file in the repo, all operations fail only if they access that subfolder on that commit revision. If I try to access other files, all work fine.


I found "Decompression of svndiff data failed" message only in one file in sources - /libsvn_delta/svndiff.c - in the zlib_decode function. So, probably data in the repository in the file for this revision somehow corrupted during or after commit? Am I right or there's another reason of these errors (I googled, but what I found is not my case)?


And the most important thing. How can I make my repo consistent back now? I can't even make svnadmin dump and erase that revision from dump file...



Thanks,

Petr Vystyd




________________________________
Upozorn?n? spole?nosti OKsystem s.r.o. s ohledem na zaveden? standardy ISO 9001, ISO 27001 a ISO 14001:
Tato zpr?va a v?echny p?ipojen? soubory jsou dle obchodn?ho z?kon?ku d?v?rn?. Jestli?e nejste zam??len?m adres?tem, uv?domte pros?m odesilatele a sma?te zpr?vu i p?ilo?en? soubory.
Opravdu pot?ebujete vytisknout tento email? Myslete na p??rodu.

Disclaimer of OKsystem s.r.o. with respect to implemented standards ISO 9001, ISO 27001 and ISO 14001:
This message and all attached files are confidential and legally privileged. If you are not the intended recipient, please notify the sender and delete the message including all attachments.
Please consider the environment before printing this email.

Re: Decompression of svndiff data failed

Posted by Stefan Sperling <st...@elego.de>.
On Tue, May 10, 2011 at 12:20:36PM +0200, vystyd@oksystem.cz wrote:
> Hello.
> 
> 
> I use svn co to checkout my repo. All worked fine for a while, but today I get error
> 
> 
> 
> Decompression of svndiff data failed: no size

What versions of Subversion are you running on your server and the clients?

Re: Decompression of svndiff data failed

Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
vystyd@oksystem.cz wrote on Tue, May 10, 2011 at 12:20:36 +0200:
> I found "Decompression of svndiff data failed" message only in one
> file in sources - /libsvn_delta/svndiff.c - in the zlib_decode
> function. So, probably data in the repository in the file for this
> revision somehow corrupted during or after commit? Am I right or
> there's another reason of these errors (I googled, but what I found is
> not my case)?

svndiff is used both in the backend (for storing revisions of files as
binary deltas against previous revisions) and on the wire (if both
client and server ≥1.4, for transmitting the delta from what the client
has (or from the empty file) to the request revision's contents).