[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bazaar sends 700K upstream for a 1K file

From: Karl Fogel
Subject: Re: Bazaar sends 700K upstream for a 1K file
Date: Sat, 02 Jan 2010 14:46:44 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

Stefan Monnier <address@hidden> writes:
>> Committing a change in `.bzrignore', a 1060 byte file, bzr sends about
>> 700K of data upstream (according to the progress meter).  I know you
>> will probably say ``switch to smart server'', but I'm just curious:
>> what is sent in those 700K?
>It could be a lot more than 700KB.  The repository data is stored in
>large binary compressed files which are not really "append-only", so it
>often ends up reading one of those files, adding some info to it, then
>repacking it and writing it all out again, and then "atomically" replace
>the old one with the new one.
>When (not if) you get unlucky, it will do such a thing on a very large
>file (look at the files in .bzr/repository to see how large it can get).

Note that http://www.emacswiki.org/emacs/EmacsBzrSwitchover still lists
all the open Savannah tickets we care about, and one of them is:


about smart server, which we really ought to be running.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]