bzr push 0.8 is REALLY slow
Bug #44692 reported by
Nicholas Allen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
John A Meinel |
Bug Description
I added some files to a repository that had already been pushed (with only 1 revision containing 2 files). I then added a bunch of files to the repositiory, committed and then did a push to push the added files to the server.
Bzr gave the following message for at least 15 minutes:
[============== ] fetch phase 0/4
When I looked at my network connection it was indeed fetching a lot of data. I don't know what though as at this stage the repository on the server only contained 2 files each about 10 lines long! What data is it fetching?
I would have thought it would just send the new files I had added and it would be a quick operation.
Changed in bzr: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
Nicholas Allen wrote:
> Public bug reported:
>
> I added some files to a repository that had already been pushed (with only 1 revision containing 2 files). I then added a bunch of files to the repositiory, committed and then did a push to push the added files to the server.
> Bzr gave the following message for at least 15 minutes:
>
> [============== ] fetch
> phase 0/4
>
> When I looked at my network connection it was indeed fetching a lot of
> data. I don't know what though as at this stage the repository on the
> server only contained 2 files each about 10 lines long! What data is it
> fetching?
>
> I would have thought it would just send the new files I had added and it
> would be a quick operation.
>
> ** Affects: bzr (upstream)
> Severity: Normal
> Priority: (none set)
> Status: Unconfirmed
>
If this is an existing repository (pre 0.8) then it probably is in Weave
format.
What does 'bzr info' say about the repository format?
Format:
...
repository: Knit repository format 1
The weave format requires the entire file be replaced each time, which
means it has to download the old version to make sure we aren't missing
anything, create a new version, and upload it.
Knits are designed to have an index and an appendable data store, so we
only read the index, and then append new information to both.
If you are still using the Weave repository format, a 'bzr upgrade
--format=knit' should make things faster.
John
=:->