darcs

Issue 1210 global cache gets recorded in _darcs/prefs/sources

Title global cache gets recorded in _darcs/prefs/sources
Priority bug Status resolved
Milestone Resolved in 2.5.0
Superseder Nosy List abuiles, ckeen, darcs-devel, dleverton, dmitry.kurochkin, kowey, mornfall, thorkilnaur, tux_rocker
Assigned To mornfall
Topics Hashed, Performance

Created on 2008-11-08.20:30:59 by mornfall, last changed 2010-06-15.22:40:13 by abuiles.

Messages
msg6616 (view) Author: mornfall Date: 2008-11-08.20:30:56
Hi,

I have been trying to run darcs-benchmark on some machines, and it has been
extraordinarily slow on our university machines with NFS-mounted homes. It took
a while to figure, that darcs is trying to access /home/eykk10/.darcs/cache all
the time, which does not exist and triggers automount every time, making darcs
wait on the order of a significant fraction of a second for *every patch it
tries to process*.

I have no idea why is the global cache being recorded in _darcs/, but that is
almost certainly a bug -- if user disables global cache in ~/.darcs/, they also
likely don't want it to be still used by all their existing repos...

I am filing this so that we don't forget to fix this for 2.2. I'll try to
followup with some patches when I get around to it...

Yours,
   Petr.
msg6722 (view) Author: ckeen Date: 2008-11-22.16:38:51
I agree that this is not as one would expect.
But it is consistent with documentation.

Did you add cache to your .darcs/sources file only?
msg6927 (view) Author: mornfall Date: 2008-12-28.16:30:42
Didn't get around to do that and time's almost out for 2.2. Let's bump this to 
2.3.
msg8014 (view) Author: kowey Date: 2009-08-06.12:10:11
Bump to Darcs 2.4?
msg9316 (view) Author: tux_rocker Date: 2009-11-15.16:20:53
Bumped indefinitely, as it is appears not to be going in in time for 2.4.
msg11300 (view) Author: abuiles Date: 2010-06-07.09:14:32
The following patch updated the status of issue1210 to be resolved:

* Resolve issue1210: global cache gets recorded in _darcs/prefs/sources 
Ignore-this: 5e7d0c93f25b2b64b949e66fc0f17398
msg11449 (view) Author: abuiles Date: 2010-06-15.22:40:12
The following patch updated issue issue1210 with status=resolved;resolvedin=2.5.0 (current)

* Resolve issue1210: global cache gets recorded in _darcs/prefs/sources 
Ignore-this: 5e7d0c93f25b2b64b949e66fc0f17398
History
Date User Action Args
2008-11-08 20:30:59mornfallcreate
2008-11-22 16:38:54ckeensetpriority: bug
nosy: + ckeen
status: unread -> unknown
messages: + msg6722
2008-12-28 16:30:48mornfallsettopic: + Target-2.3
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin, mornfall, ckeen
messages: + msg6927
assignedto: mornfall
2009-01-27 23:38:17dlevertonsetnosy: + dleverton
2009-08-06 12:10:14koweysettopic: + Target-2.4, - Target-2.3
nosy: kowey, dagit, simon, thorkilnaur, dmitry.kurochkin, mornfall, dleverton, ckeen
messages: + msg8014
2009-08-10 23:50:56adminsetnosy: - dagit
2009-08-18 09:21:26koweysetstatus: unknown -> needs-implementation
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, mornfall, dleverton, ckeen
topic: + Performance
2009-08-25 17:33:58adminsetnosy: + darcs-devel, - simon
2009-08-27 14:26:12adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, mornfall, dleverton, ckeen
2009-09-07 04:32:01koweysettopic: + Hashed
nosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, mornfall, dleverton, ckeen
2009-09-07 04:40:50koweylinkissue1326 superseder
2009-11-15 16:20:59tux_rockersettopic: - Target-2.4
nosy: + tux_rocker
messages: + msg9316
2010-06-07 09:14:33abuilessetstatus: needs-implementation -> resolved
nosy: + abuiles
messages: + msg11300
2010-06-15 22:40:13abuilessetmessages: + msg11449
resolvedin: 2.5.0