[MERGE][REGRESSION][1.6] fetching knits => packs
Robert Collins
robertc at robertcollins.net
Mon Aug 18 22:28:05 BST 2008
bb:approve
> > Specifically, the bug starts with a knit repository that is 70MB on disk (35MB
> > --apparent). And it ends up 170MB after copying into a pack repository.
> > Further, it uses 700+MB of memory for the copy.
>
> So, this was introduced by Robert's change:
> 3584 Canonical.com Patch Queue Manager 2008-07-29 [merge]
> (robertc) Give repository objects more control over the generic fetch
> process. (Robert Collins)
>
> We haven't noticed the problem in general fetching, because it is rare that
> you fetch a lot of texts and when you already have the left-hand parent in
> your repository, it just re-does the delta.
Thanks for catching this. *blush*.
To test it we'd want to instrument a repositories vf objects to catch
method calls and then do a fetch where we try both values of
fetch_uses_deltas, and ensure its passed through correctly.
-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/20080819/d3c0bccb/attachment.pgp
More information about the bazaar
mailing list