bzr error - KnitCorrupt

Robert Collins robertc at robertcollins.net
Wed Aug 8 05:45:19 BST 2007


On Fri, 2007-08-03 at 16:17 -0400, Ralph Douglass wrote:
> I'm getting this error when I call bzr log.  It seems that it still 
> works when I give it a specific revision range that does not include
> two 
> revisions (26 and 27), including things after the corrupted
> revision.  
> bzr diff -r 26 and bzr diff -r also overlap in all but two lines,
> which 
> means that they are suspect.
> 
> Any thoughts on how to recover from this, other than rebuilding the 
> repo?   It's a small repo, so that's not a big issue this time, but
> I've 
> got much larger stuff that I was about to move, and I'd like to feel 
> comfortable about that migration.
> 
> The error:
> ----------------------------------------------------------------------------------------
> 
> bzr: ERROR: bzrlib.errors.KnitCorrupt: Knit revisions.knit corrupt: 
> While reading
> {production at nyc-lvt-007-20070802224632-ykfvrh54zjoqt3do} 
> got IOError(Not a gzipped file)

This has indicated flakey hardware in all cases we've seen so far - the
data in the .knit which should be a sequence of gzip'd files cat'd to
each other. We only write references to those hunks after the data has
been written.

-Rob


-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070808/9db5c764/attachment.pgp 


More information about the bazaar mailing list