[darcs-users] [patch215] Resolve issue1159: smart caches union. (and 2 more)

Dmitry Kurochkin bugs at darcs.net
Sun Apr 18 15:05:15 UTC 2010


New submission from Dmitry Kurochkin <dmitry.kurochkin at gmail.com>:

3 patches for repository http://darcs.net:

Sat Apr 17 03:56:44 MSD 2010  Dmitry Kurochkin <dmitry.kurochkin at gmail.com>
  * Resolve issue1159: smart caches union.
  Try to do better than just blindly copying remote cache entries:
  
  * If remote repository is accessed through network, do not copy any cache
    entries from it. Taking local entries does not make sense and using network
    entries can lead to darcs hang when it tries to get to unaccessible host.
  
  * If remote repositoty is local, copy all network cache entries. For local
    cache entries if the cache directory exists and is writable it is added as
    writable cache, if it exists but is not writable it is added as read-only
    cache.
  
  This approach should save us from bogus cache entries. One case it does not
  work very well is when you fetch from partial repository over network.
  Hopefully this is not a common case.

Sun Apr 18 18:01:29 MSD 2010  Dmitry Kurochkin <dmitry.kurochkin at gmail.com>
  * URL: add maxPipelineLength function, rename maxPipeLength to maxPipelineLengthRef.

Sun Apr 18 19:03:02 MSD 2010  Dmitry Kurochkin <dmitry.kurochkin at gmail.com>
  * Darcs.Repository: use pipelining when copying patches.
  Speculate on patches in fetch_patches_if_necessary. Improves darcs get time
  for the http://darcs.net repository from 37:24 to 21:25 for me.

----------
files: resolve-issue1159_-smart-caches-union_.dpatch, unnamed
messages: 10759
nosy: darcs-users, dmitry.kurochkin
status: needs-review
title: Resolve issue1159: smart caches union. (and 2 more)

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch215>
__________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: resolve-issue1159_-smart-caches-union_.dpatch
Type: text/x-darcs-patch
Size: 36776 bytes
Desc: not available
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100418/43d2c82b/attachment-0001.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: unnamed
URL: <http://lists.osuosl.org/pipermail/darcs-users/attachments/20100418/43d2c82b/attachment-0001.diff>


More information about the darcs-users mailing list