cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerhard Froehlich" <>
Subject AW: Are we ready for C2 Beta 2 yet [ Still MRUMemoryStore probs ]
Date Fri, 20 Jul 2001 17:06:29 GMT
Please ignore my last mail. I get this mail from you at the same
time I send mine.
>It looks like there's still a bit of a problem with the MRUMemoryStore.
>It's only happening if the fs store is used.
Seems like.
>The reading and writing of cached files are looking in different places.
>Basically, the calls to fsstore.get() and are using
>different parameters.  The call to is adding in
>the cachedir path and the call to fsstore.get() isn't.
Yes that is right, it is careless bug from me.
>I've attached a Q&D patch to this and it works ...
Thanx, but you forgot to fix the remove() method.
>BUT I've also noticed that the cache keys are used by other methods
>such as remove().
yes you're right
>This patch is assuming that the key and the file on the filesystem are in
>the same thing.  Is that the intent?  The keys now being passed to the
>and get() methods look like this:
>rather than just

>Other methods would not be getting the cache-dir-prefix/ .  Are the
>cache keys intended to look like filesystem-like things? Or are
>the keys supposed to be some abstraction of that?
no no, this really a bug. I fixed yesterday the path determination and
to append it on the other methods.
>Anyway, here's the quick & dirty patch that'll get the fs store working.
Thank you very much. But I would like to send a patch with the whole fixes
when this is ok.

To unsubscribe, e-mail:
For additional commands, email:

View raw message