Activity log for bug #120697

Date Who What changed Old value New value Message
2007-06-16 12:44:52 Reinhard Tartler bug added bug
2007-06-16 12:45:49 Reinhard Tartler bug assigned to bzr (Debian)
2007-06-18 07:38:51 Bug Watch Updater bzr: status Unknown Confirmed
2007-11-13 10:07:24 Bug Watch Updater bzr: status Confirmed Fix Released
2007-11-19 21:16:43 Martin Pool title Very network-unfriendly bzr shouldn't bypass http caches
2007-11-19 21:17:25 Martin Pool bzr: importance Undecided Medium
2007-11-19 21:17:25 Martin Pool bzr: status New Confirmed
2007-11-20 08:22:26 Vincent Ladeuil bzr: assignee v-ladeuil
2007-11-20 09:35:45 Vincent Ladeuil bzr: status Confirmed Fix Committed
2007-11-21 07:57:33 Vincent Ladeuil bug added attachment '120697.patch' (Enable http cache use)
2007-11-25 13:58:00 Vincent Ladeuil bzr: status Fix Committed Won't Fix
2007-11-25 15:00:58 Vincent Ladeuil bzr: status Won't Fix Triaged
2008-06-17 12:48:35 James Westby bzr: status Triaged Fix Released
2008-06-17 15:24:59 Vincent Ladeuil bzr: status Fix Released Triaged
2010-02-11 05:07:30 Martin Pool summary bzr shouldn't bypass http caches want a way to mark transport operations as cacheable
2010-02-11 05:07:36 Martin Pool bzr: status Triaged Confirmed
2010-02-11 05:08:44 Martin Pool description This is actually debian bug 396227: From: Roland Mas <lolando@debian.org> To: Debian Bug Tracking System <submit@bugs.debian.org> Subject: bzr: Very network-unfriendly Date: Mon, 30 Oct 2006 18:20:02 +0100 Package: bzr Version: 0.11-1 Severity: normal bzr seems to deliberately eat my bandwidth. The following two invocations of bzr have been run in a row, after the $http_proxy and $HTTP_PROXY environment variables have been set up to point to a (working) squid proxy/cache. As you can see, there's no gain in using a cache: ,---- | roland@mirexpress:/tmp$ time bzr branch http://bazaar-ng.org/bzr/bzr.dev | Bzrtools is not up to date with installed bzr version 0.11.0. | There should be a newer version available, e.g. 0.11. | Branched 2100 revision(s). | | real 23m28.351s | user 0m31.538s | sys 0m1.880s | roland@mirexpress:/tmp$ mv bzr.dev/ bzr.dev.bak | roland@mirexpress:/tmp$ time bzr branch http://bazaar-ng.org/bzr/bzr.dev | Bzrtools is not up to date with installed bzr version 0.11.0. | There should be a newer version available, e.g. 0.11. | Branched 2100 revision(s). | | real 23m58.854s | user 0m32.130s | sys 0m1.740s | roland@mirexpress:/tmp$ `---- The Squid logs lots of TCP_MISS and TCP_CLIENT_REFRESH_MISS entries. According to the Squid documentation, this means that "The client issued a "no-cache" pragma, or some analogous cache control command along with the request. Thus, the cache has to refetch the object." Bzr is slow enough already, bypassing proxy-caches is not good. One could, with lots of goodwill, argue the case for initial branching, but re-fetching more than a megabyte afterwards for each bzr pull (one in each branch) is stretching it. Transport.get (and readv, etc) should take a flag indicating the the requested file is cacheable. This should pass through to the http client, and it should be set when reading pack and index files. ---- This is actually debian bug 396227: From: Roland Mas <lolando@debian.org> To: Debian Bug Tracking System <submit@bugs.debian.org> Subject: bzr: Very network-unfriendly Date: Mon, 30 Oct 2006 18:20:02 +0100 Package: bzr Version: 0.11-1 Severity: normal bzr seems to deliberately eat my bandwidth. The following two invocations of bzr have been run in a row, after the $http_proxy and $HTTP_PROXY environment variables have been set up to point to a (working) squid proxy/cache. As you can see, there's no gain in using a cache: ,---- | roland@mirexpress:/tmp$ time bzr branch http://bazaar-ng.org/bzr/bzr.dev | Bzrtools is not up to date with installed bzr version 0.11.0. | There should be a newer version available, e.g. 0.11. | Branched 2100 revision(s). | | real 23m28.351s | user 0m31.538s | sys 0m1.880s | roland@mirexpress:/tmp$ mv bzr.dev/ bzr.dev.bak | roland@mirexpress:/tmp$ time bzr branch http://bazaar-ng.org/bzr/bzr.dev | Bzrtools is not up to date with installed bzr version 0.11.0. | There should be a newer version available, e.g. 0.11. | Branched 2100 revision(s). | | real 23m58.854s | user 0m32.130s | sys 0m1.740s | roland@mirexpress:/tmp$ `---- The Squid logs lots of TCP_MISS and TCP_CLIENT_REFRESH_MISS entries. According to the Squid documentation, this means that "The client issued a "no-cache" pragma, or some analogous cache control command along with the request. Thus, the cache has to refetch the object."   Bzr is slow enough already, bypassing proxy-caches is not good. One could, with lots of goodwill, argue the case for initial branching, but re-fetching more than a megabyte afterwards for each bzr pull (one in each branch) is stretching it.
2010-02-11 05:08:52 Martin Pool tags http transport
2010-10-15 21:46:59 Vincent Ladeuil bzr: assignee Vincent Ladeuil (vila)
2017-11-08 22:56:52 Jelmer Vernooij tags http transport check-for-breezy http transport
2018-05-12 16:36:59 Jelmer Vernooij tags check-for-breezy http transport http transport