pure python Groupcompressor failure

Bug #364900 reported by John A Meinel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Critical
John A Meinel

Bug Description

There seems to be a critical bug in the pure-python implementation of Groupcompress. I'm tracking it down now, but when trying to convert mysql-5.1 @ revno 525, we get a failure during autopacking:
bzr: ERROR: exceptions.ValueError: Delta claimed to be 121997 long, but ended up 131072 long

My guess is there is something wrong with the data stream output, currently working on debugging.

Related branches

Revision history for this message
John A Meinel (jameinel) wrote :

Digging deeper it seems to be a bug in the handling of 'chained copy' instructions w/ more than 64kB, I think I'll have a fix in a couple minutes.

Changed in bzr:
assignee: nobody → John A Meinel (jameinel)
importance: Undecided → Critical
milestone: none → 1.14
status: New → In Progress
Revision history for this message
John A Meinel (jameinel) wrote :

When a copy was >64kB, we were accidentally sending all copy commands as a 64kB copy.

Changed in bzr:
status: In Progress → Fix Committed
Bob Tanner (tanner)
Changed in bzr:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.