10x download overhead (during bzr branch) of "dumb" http server

Asked by Marcin Wojdyr on 2013-04-25

We have a few bzr repositories with anonymous "dumb" http access and we observe that branching repository 150MB repository transfers 1.5GB of data. After the download the size of new repository is the same as the old one, 150MB.

Is this a known issue?

I googled and the only relevant discussion I found is this:
http://osdir.com/ml/bazaar/2010-01/msg00660.html

So it's clear that the overhead is necessary for "pull", but is it the same for "branch"?

Clients: bzr 2.5 on Linux and OSX, server: Apache.

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
Marcin Wojdyr
Solved:
2013-05-07
Last query:
2013-05-07
Last reply:
Marcin Wojdyr (wojdyr) said : #1

FTR, I asked the same on bazaar mailing list:
http://thread.gmane.org/gmane.comp.version-control.bazaar-ng.general/74845/focus=74848

As John wrote, increasing cache size in bzrlib/groupcompress.py line 1225 helps.
(it's a workaround for clients, not server, unfortunately)

Marcin Wojdyr (wojdyr) said : #2

the cause of this problem was explained in the thread linked above, so i'm marking it as solved