Bug: bzr hangs while attempting to pull

John Arbash Meinel john at arbash-meinel.com
Thu May 4 17:29:14 BST 2006


I have a mirror which automatically updates itself every night. It is a
standalone weave-format branch which points at
"http://bazaar-vcs.org/bzr/bzr.dev".

When I try to run 'bzr pull' in that directory, the program hangs (for
hours).
Attached is the compressed log, and the traceback after manually
canceling the job.

Also, if you look at the log, you can see a lot of:
get_url http://bazaar-vcs.org/bzr/bzr.dev/.bzr/repository/inventory.knit
[[(3707158, 3707551)]]
readv coalesced 1 reads.
get_url http://bazaar-vcs.org/bzr/bzr.dev/.bzr/repository/inventory.knit
[[(3707552, 3707804)]]
readv coalesced 1 reads.
get_url http://bazaar-vcs.org/bzr/bzr.dev/.bzr/repository/inventory.knit
[[(3707805, 3708064)]]
readv coalesced 1 reads.
get_url http://bazaar-vcs.org/bzr/bzr.dev/.bzr/repository/inventory.knit
[[(3708065, 3708456)]]
readv coalesced 1 reads.
get_url http://bazaar-vcs.org/bzr/bzr.dev/.bzr/repository/inventory.knit
[[(3708457, 3708684)]]
readv coalesced 1 reads.

Which looks like some process is asking for most of the inventory, one
hunk at a time. But it is requesting it in order, and all of those reads
could certainly be collapsed into one big read, rather than all of the
round trips. It would seem that something isn't using readv() properly.
(Probably one of the layers of abstraction only lets you request one
inventory at a time, rather than requesting a set of inventories.)

(If I switch to pulling from bzr.dev.as.weaves everything works fine. It
has something to do with pulling from a knit branch into a standalone
branch.)
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr.log.bz2
Type: application/x-bzip
Size: 60480 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060504/3bb2dd18/attachment.bin 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: bzr.traceback
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20060504/3bb2dd18/attachment.diff 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060504/3bb2dd18/attachment.pgp 


More information about the bazaar mailing list